This is a simple ATM System simulation built in Python. The user logs in using a secure 4-digit PIN and can perform basic banking operations like checking balance, depositing, and withdrawing money — all through a command-line interface.
Great for beginners to practice Python functions, loops, and input validation in a real-world simulation.
- Secure PIN-based login (with 3 attempt limit)
- Balance inquiry
- Deposit money
- Withdraw money (with balance validation)
- Menu repeats until user chooses to exit
- Input validation and error handling
- Python 3.6 or higher
if-else
conditionswhile
loops- User-defined functions
try-except
for input validationf-string
formatting (e.g.,₹{balance:.2f}
)
- Make sure Python is installed.
- Clone or download this repository.
- Open terminal or command prompt.
- Navigate to the project folder and run:
python main.py
Enter your 4-digit PIN: 1234 Login successful!
------ ATM Menu ------
- Check Balance
- Deposit Money
- Withdraw Money
- Exit
Enter your choice (1-4): 2 Enter amount to deposit: ₹500 ₹500.00 deposited successfully.
Sandesh Salokhe
GitHub: @Sandesh-008