Welcome to the Bank Management System! This Python-based application allows users to manage their bank account by performing credit and debit transactions. The system lets users check their balance, deposit money, and withdraw funds, with basic validation in place.
- π° Credit Function: Add funds to your account by crediting money.
- π¦ Debit Function: Withdraw money from your account, with an automatic check for insufficient funds.
- π Balance Display: View your current balance after each transaction.
- π Secure Login: Enter a username and password to access the system.
- π Transaction Loop: Perform multiple transactions until you decide to exit.
- Python 3.x installed on your system.
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/bank-management-system.git
Navigate into the project directory:
bash Copy code cd bank-management-system Run the main.py script to start the bank management system:
bash Copy code python main.py Follow the on-screen instructions:
Enter your username and password. Choose either to credit or debit money from your account. After each transaction, view the updated balance and decide whether to continue.
π§© Code Structure
bank_management_system(): This is the main function that handles the entire bank management process, from user login to transaction handling. Credit: Increases the balance by the specified amount. Debit: Decreases the balance after validating sufficient funds. Balance Display: Shows the updated balance after each transaction. Transaction Loop: Keeps the user in the system until they choose to exit.
π How it works:
Login: The user is prompted to enter their username and password. Choose an Action: The user can choose between crediting or debiting money: Credit: Adds the specified amount to the balance. Debit: Withdraws the specified amount if sufficient balance is available. Balance Check: After each transaction, the updated balance is shown. Continue or Exit: After each transaction, the user can choose whether to perform another action or exit the system. . π License This project is licensed under the MIT License
π£ Feedback If you have any feedback or suggestions, please feel free to open an issue or contact us. mail:bhavnanahar245@gmail.com
Made with β€οΈ by Bhavna