subject

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."

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
Which is produced by the endocrine system to control how cells and organs function
Answers: 2
question
Computers and Technology, 22.06.2019 11:50
You have written, as part of a school assignment, a research paper on the solar system. you want to share this paper on your school website. on which type of server will you upload it?
Answers: 1
question
Computers and Technology, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
You know the right answer?
Credit card numbers follow a standard system. for example, visa, mastercard, and discpver card all h...
Questions
question
English, 15.12.2020 21:30
question
Mathematics, 15.12.2020 21:30
question
Mathematics, 15.12.2020 21:30
question
Arts, 15.12.2020 21:30
Questions on the website: 13722363