Write a program that simulates an Automatic Teller Machine (ATM). Each user will have access to only
Question:
Write a program that simulates an Automatic Teller Machine (ATM). Each user will have access to only a checking account. Design your interface to be similar to what you see on your local ATM.
Using object-oriented design:
You will need to write multiple Python classes to solve this problem.
Since debit card swiping is not possible here, instead ask the user of your program for user ID and a PIN. The user ID will be used to look up the info for the user’s accounts (including the PIN to see if it matches what the user types in).
You can program some fake accounts and holders directly into your program, with starting balances, i.e. “Joe Smith” has user id jsmith and a balance of 1350 US dollars. You can program in any number of users you need. Hint: A dictionary is great for this.
The user should able to check the balance of, withdraw from, or deposit into their checking account. You can add other actions (transfer between accounts) or accounts (savings, another checking) of your own, as well in addition to the required ones.
You should have a main() function that uses any classes you wrote in some sort of interactive loop.