This repository contains code for a Bank Account Management System implemented in Python. The system provides functionalities for creating, updating, and managing bank accounts, as well as performing transactions and generating various statistics.
- Create a new account
- Update account information
- Perform transactions
- Check account details
- Remove an existing account
- Find accounts by name
- Sort and calculate statistics on account balances
- Binary search tree for efficient searching
- Linked list for efficient storage and retrieval
- Python 3.x
- math module
- datetime module
- Clone the repository:
git clone https://github.com/Amirrezahmi/bank-management.git
- Navigate to the project directory:
cd bank-management
- Import the required modules:
from math import ceil
import uuid
import datetime
- Create a linked list for managing bank accounts:
class Node(object):
# Node implementation...
class LinkedList(object):
# Linked list implementation...
myList = LinkedList()
- Implement the Bank Account Management System:
# Implement bank account management functions...
- Use the provided menu to interact with the system:
def main_menu():
print("### Main Menu ###")
print("Choose one item:")
print("1. Create new account")
print("2. Update your account information")
print("3. Transactions")
print("4. Check details of your account")
print("5. Remove existing account")
print("6. Most and Least balance")
print("7. Median of balance list")
print("8. Total number of accounts in this bank")
print("9. Search by name")
print("10. Sort ages and get Mean of ages")
print("11. Exit")
print("WELCOME TO OUR BANK MANAGEMENT SYSTEM")
main_menu()
Here's a screenshot of a sample example:
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.