Question: Using Python. When you use an automated teller machine(ATM)with your bank card, you need to use a personal identification number (PIN) to access your account.

Using Python. When you use an automated teller machine(ATM)with your bank card, you need to use a personal identification number (PIN) to access your account. If a user fails more than three times when entering the PIN, the machine will block the card. Create the ATMApplication.The application asks the user for the PIN no more than three times and does the following: IftheuserenterstherightPIN, the application should ask the user to choose an account(checking or savings), and display its balance. IftheuserentersawrongPIN and, if the application has asked for the PIN-less than three times, it should ask for it again. IftheuserentersawrongPIN three times, the application should print a message sayingYour bank card is blocked.Assume that the users checking account balance is $1450.56and his/her savings account balance is $10. Also, assume the users PIN is 9554.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!