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, 22.06.2019 11:30
Write a function so that the main program below can be replaced by the simpler code that calls function original main program: miles_per_hour = float( minutes_traveled = float( hours_traveled = minutes_traveled / 60.0 miles_traveled = hours_traveled * miles_per_hour print('miles: %f' % miles_traveled) sample output with inputs: 70.0 100.0 miles: 116.666667
Answers: 3
question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
To add additional commands to the quick access toolbar, a user can navigate to the view. backstage status bar design file
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
Carmina works at a fast-food restaurant. during the slow afternoon hours, carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. what workplace habit does carmina show by doing this? efficiency initiative interpersonal skills problem solving
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
Social Studies, 23.01.2020 04:31
question
Geography, 23.01.2020 04:31