Skip to content

clayniranjan-web/ATM-simulator-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

ATM Simulator 🏧

A simple command-line ATM simulator built with Python.

Features

  • Check current balance
  • Deposit money
  • Withdraw money
  • Input validation (invalid amounts, insufficient funds)
  • Menu loops until user exits

How to Run

python atm_simulator.py

Usage

---ATM Menu---

Check Balance Deposit Withdraw Exit

Pick an option by typing 1, 2, 3, or 4.

Concepts Used

  • Functions
  • Global variables
  • Conditionals (if/elif/else)
  • While loop
  • f-strings
  • Type conversion (float)

Notes

  • Starting balance is set to β‚Ή1000
  • Withdrawals are rejected if amount exceeds current balance
  • Negative or zero inputs are treated as invalid

πŸ‘€ Author

Clay Niranjan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages