This Python script is a simple simulation of a basic banking system for Bank of India. It allows users to perform actions like checking their account balance, withdrawing and depositing funds, and changing their PIN. The script aims to provide a straightforward user experience with fundamental security measures.
-
Welcome Screen:
- The system starts with a warm welcome message.
-
Authentication:
- Users are required to enter their PIN to access banking features.
- Account blocking occurs after three consecutive incorrect PIN entries for security.
-
Menu:
- Users can choose from the following options:
- Check Balance
- Withdraw Funds
- Deposit Funds
- Change PIN
- Exit
- Users can choose from the following options:
-
Check Balance:
- Displays the current account balance.
-
Withdraw Funds:
- Allows users to withdraw funds, ensuring there's enough balance.
-
Deposit Funds:
- Enables users to deposit funds into their account.
-
Change PIN:
- Users have the option to change their PIN for enhanced security.
-
Object Factory:
- Implements an object factory pattern for creating instances of various components (Welcome, Authenticate, Menu, Balance, Withdraw, Deposit, Ledger).
-
Run the Script:
- Execute the Python script to initiate the banking system.
-
Follow Prompts:
- Enter the PIN when prompted.
- Choose desired actions from the menu.
- Complete transactions as needed.
-
Exit:
- Choose the "Exit" option to close the banking system.
-
PIN Authentication:
- Users must provide the correct PIN to access their account.
- Account blocking occurs after three consecutive incorrect PIN entries.
-
User Feedback:
- Clear and informative messages guide users through each step.
-
Account Block:
- After too many incorrect PIN attempts, the account is blocked.
- Additional measures, like contacting customer support, can be implemented.
- Python 3.x
This basic banking system script is designed for educational purposes and is not intended for use in actual banking operations. It serves as a simple example of a console-based banking application. Feel free to explore and modify the code to meet your learning and development needs.