Project Level 2: Intermediate
This project is designed for intermediate learners who know Python fundamentals and are practicing building complete programs.
Project Description
Create a simplified ATM Simulation program where the user interacts with an ATM-like interface through the command line. The user can perform basic transactions, such as checking their balance, depositing money, and withdrawing money.
Here is how the program works:
(1) The program starts with a default balance of $100 and displays the options (e.g., check balance, deposit, etc.)
(2) The user chooses an option number (e.g., 3 for depositing) and then follows the instructions (e.g., enters a deposit amount).
(3) The program calculates the updated balance and prints out the messages again and the updated balance.
Learning Benefits
This project helps beginners understand the fundamentals of conditional statements and loops in Python by simulating real-life decision-making processes. The program can also optionally include basic error handling. Additionally, users gain insight into managing and updating variables dynamically based on user actions.
Prerequisites
Required Libraries: No libraries required.
Required Files: No files are required.
IDE: You can use any IDE on your computer to code the project.
Danger Zone
Once you code the project, compare it with our solution below:
Not interested if $20 billion won’t be coming it of my laptop.