subject

Write function break_up that accepts a string that represents a credit card number and returns the type of card, the routing number, and the credit limit on the card. The function must use slicing and cannot use split. The main function will let a user enter a string representing a credit card number (including spaces) and then pass this string to function break_up. Sample input would be (notice the spaces every four characters: Enter credit card number: 4234 5678 9123 5362 Function main will format and print the type of card, the routing number and the credit limit as follows. No extra spaces. Visa Routing Number: 567891 Credit Limit: $ 3500.00

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:10
Which is a benefit of peer-to-peer networking? easy to add or remove devices main server has a fast processor more reliable than a client/server network same software versions on all computers
Answers: 3
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
Which example can be considered master data in an organization? a. holiday list b. dress code c. employee information d. recreational activities
Answers: 1
You know the right answer?
Write function break_up that accepts a string that represents a credit card number and returns the t...
Questions
Questions on the website: 13722359