A simple command-line banking assistant written in Python. This project simulates basic banking operations through a text-based menu, making it ideal for beginners who want to practice Python basics, such as loops, conditionals, input validation, and user interaction.
- Start interaction with a keyword (
go) - Menu-driven interface
- Check account balance
- Make deposits
- Simulate payments
- Request a loan
- End the service safely
whileloopsif / elif / elseconditionals- User input with
input() - Basic input validation using
.isdigit() - Console-based program structure
.
├── github.py
└── README.md
- Make sure you have Python 3 installed:
python --version-
Clone the repository or download the file.
-
Run the program:
python github.py- Type
goto start the assistant.
Type "go" to start: go
Hello! I will be your virtual assistant. Below are your options. How can I help you?
1 - Account balance
2 - Make a deposit
3 - Make a payment
4 - Take out a loan
5 - End service
-
This is a simulation: no real banking operations are performed.
-
Values are static and used only for learning purposes.
-
The project can be expanded with:
- Functions
- Data persistence (files or databases)
- Better error handling
- Refactor using functions
- Add user authentication
- Store balance dynamically
- Improve payment logic
Created as a learning project to practice Python fundamentals.
Feel free to improve, refactor, and experiment!