Skip to content

A simple Python-based ATM system using functions and CLI. Includes secure PIN login, balance check, deposit, withdrawal, and input validation. Ideal for beginners learning function-based programming.

Notifications You must be signed in to change notification settings

Sandesh-008/simple-atm-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Simple ATM System - Python CLI Project

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.


Features

  • 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

Requirements

  • Python 3.6 or higher

Concepts Used

  • if-else conditions
  • while loops
  • User-defined functions
  • try-except for input validation
  • f-string formatting (e.g., ₹{balance:.2f})

How to Run

  1. Make sure Python is installed.
  2. Clone or download this repository.
  3. Open terminal or command prompt.
  4. Navigate to the project folder and run:
python main.py

Example Output

Enter your 4-digit PIN: 1234 Login successful!

------ ATM Menu ------

  1. Check Balance
  2. Deposit Money
  3. Withdraw Money
  4. Exit

Enter your choice (1-4): 2 Enter amount to deposit: ₹500 ₹500.00 deposited successfully.


Author

Sandesh Salokhe
GitHub: @Sandesh-008

About

A simple Python-based ATM system using functions and CLI. Includes secure PIN login, balance check, deposit, withdrawal, and input validation. Ideal for beginners learning function-based programming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages