A simple Python program that simulates a bank account. Users can create their own account, deposit money, withdraw money, and check their balance. Perfect for practicing Python classes, methods, and user input.
- Create a personalized bank account with your name and starting balance.
- Deposit money into your account.
- Withdraw money (with balance check).
- Check your current balance.
- Interactive menu to perform multiple actions until you quit.
- Uses Python classes and methods to organize code.
- The program asks the user for their name and starting balance.
- It creates a
BankAccount
object with these details. - The user can choose to deposit, withdraw, or check balance from a menu.
- The account keeps track of the balance and updates it with each action.
- Make sure Python 3 is installed.
- Download the project files.
- Open a terminal/command prompt in the project folder.
- Run the program:
python bank_account.py