Computers and Technology

Credit card numbers follow a standard system. for example, visa, mastercard, and discpver card all have 16 digits, and the first digit serves to indicate the card brand. all visa cards start with a 4; mastercard cards always starts with a 5; and american express cards start with a 2. write a program that prompts for a 16-digit credit card and emits the name of the brand. use the try/except/else structure to ensure the user enters digits only. if the card brand cannot be determined or if the correct number of digits was not entered, the program should output "unknown card."

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, hope564
Dave has to create animations for a game. which tool can dave use?
Answers: 3
image
Computers and Technology, 22.06.2019 21:10, itsmichaelhere1
Dameas communication challenge is due to which factor
Answers: 2
image
Computers and Technology, 23.06.2019 11:30, kyraj21
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
image
Computers and Technology, 23.06.2019 22:30, BilliePaul95
Janice usually works on a particular workbook that contains all business related data. she decides to keep a backup of all the data in a separate workbook. she opens a new workbook to transfer the data. which option should she use to copy all the data from one workbook to another workbook?
Answers: 1
Do you know the correct answer?
Credit card numbers follow a standard system. for example, visa, mastercard, and discpver card all h...

Questions in other subjects:

Konu
Biology, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01
Konu
Social Studies, 13.09.2020 05:01
Konu
Social Studies, 13.09.2020 05:01
Konu
Mathematics, 13.09.2020 05:01