This is a simple Python-based banking system designed for learning purposes.
The program allows users to create accounts, deposit money, withdraw funds, and delete accounts using a text-based menu interface.
Account information is temporarily stored using Python dictionaries across modules.
- Create new account with PIN authentication
- Deposit money into existing account
- Withdraw money with PIN verification
- Delete an account securely
- Error-handling for invalid credentials
| Component | Details |
|---|---|
| Programming Language | Python 3.x |
| Data Structure | Dictionaries |
| Approach | Modular Programming |
| IDE | VS Code / PyCharm / IDLE |
- Download or clone the project folder.
- Ensure that Python 3.x is installed.
- Open a terminal or IDE and run:
Follow the steps below to verify that the system works correctly:
- Run the program
- Choose option 1 - Create Account
- Enter a name, PIN, and initial balance
- Expected Result: The account should be added successfully and visible when performing further operations.
- Choose option 4 - Deposit Money
- Enter an existing account name, valid PIN, and amount
- Expected Result: Balance should increase correctly.
- Choose option 3 - Withdraw Money
- Enter account name, valid PIN, and amount to withdraw
- Expected Result: Balance decreases (only if sufficient funds exist).
- Try depositing or withdrawing using an incorrect PIN
- Expected Result: System must display: "Wrong PIN" and prevent changes.
- Choose option 2 - Delete Account
- Enter correct name and PIN
- Expected Result: Account should be removed and no longer accessible.
Try the following:
- Enter a wrong option number
- Leave fields blank
- Enter a withdrawal amount greater than balance
Expected Result: The system should handle errors without crashing.
If all tests work as expected, the program is considered functional.