Professional Documents
Culture Documents
Project Work Computer Science
Project Work Computer Science
SESSION: - 2021-22
SUBJECT: - COMPUTER SCIENCE (083)
BANKING MANAGEMENT
SYSTEM
(USING PYTHON)
CLASS: - XII A
df
41
CERTIFICATE OF ORIGINALITY
41
Acknowledgement
41
CONTENTS
1. Introduction 6
4. Source Code 18
5. Sample Outputs 31
6. Future Enhancement 36
7. Webliography 38
8. Bibliography 40
41
INTRODUCTION
41
Python is a computer programming language often used to build
websites and software, automate tasks, and conduct data analysis. Python
is a general-purpose language, meaning it can be used to create a variety
of different programs and isn’t specialized for any specific problems.
This versatility, along with its beginner-friendliness, has made it one of
the most-used programming languages today. A survey conducted by
industry analyst firm Red Monk found that it was the second-most
popular programming language among developers in 2021.
41
What can you do with python?
2. Web development
3. Automation or scripting
5. Everyday tasks
41
Data analysis and machine learning:
Python has become a staple in data science, allowing data analysts and
other professionals to use the language to conduct complex statistical
calculations, create data visualizations, build machine learning algorithms,
manipulate and analyze data, and complete other data-related tasks.
Web development:
Automation or scripting:
If you find yourself performing a task over and over again, you could work
more efficiently by automating it with Python. Writing code used to build
these automated processes is called scripting. In the coding world,
automation can be used to check for errors across multiple files, convert
files, execute simple math, and remove duplicates in data.
41
Software testing and prototyping:
In software development, Python can aid in tasks like build control, bug
tracking, and testing. With Python, software developers can automate
testing for new products or features. Some Python tools used for software
testing include Green and Requestium.
Everyday tasks:
Python isn't only for programmers and data scientists. Learning Python can
open new possibilities for those in less data-heavy professions, like
journalists, small business owners, or social media marketers. Python can
also enable non-programmer to simplify certain tasks in their lives. Here
are just a few of the tasks you could automate with Python:
41
Why is Python so popular?
It’s versatile. Python can be used for many different tasks, from web
development to machine learning.
41
It’s beginner friendly, making it popular for entry-level coders.
Its open source, which means it’s free to use and distribute, even for
commercial purposes.
41
AIM OF THE PROJECT
41
AIM OF THE PROJECT
41
INTRODUCTION TO THE
PROJECT
41
INTRODUCTION TO THE PROJECT
Bank Management System project is written in Python. The project file
contains a python script (main.py) and a database file. This is a simple
console based system which is very easy to understand and use. Talking
about the system, it contains all the basic functions which include creating
a new account, view account holders record, withdraws and deposit
amount, balance inquiry, closing an account and edit account details. In
this mini project, there is no such login system. This means he/she can use
all those available features easily without any restriction. It is too easy to
use; he/she can check the total bank account records easily.
Talking about the features of the Bank Management System, a user can
create an account by providing the name of the account holder, number,
selecting amount type (Saving account or Current account) and providing
an initial amount more than or equal to 500. Then the user can also deposit
and withdraw money just by providing his/her account and entering the
amount. For certain purpose, he/she can also check for the balance inquiry
which displays the account number and amount. He/she can also view all
the account holder’s list. Another feature is that he/she can modify their
account detail and type if they want to.
41
This simple console based Bank Management system provides the
simplest management of bank account and transaction. In short, this
project mainly focuses on CRUD. There’s an external database
connection file used in this mini project to save user’s data permanently.
41
SOURCE CODE
41
SOURCE CODE
NamesOFClients = ['Jomhel Dulla', 'Benny Salde', 'Jeremy Eriman', 'Given Bariacto', 'Carlan
Pelobello', 'Ryan Manaay', 'Daniel Bandiola']
ClientPins = ['0001', '0002', '0003', '0004', '0005', '0006', '0007']
ClientBalances = [10000, 20000, 30000, 40000, 50000, 60000, 70000]
ClientDeposition = 0
ClientWithdrawal = 0
ClientBalance = 0
disk1 = 1
disk2 = 7
u=0
print("************************************************************")
print("========== WELCOME TO ITSOURCECODE BANKING SYSTEM ==========")
print("************************************************************")
print("========== (a). Open New Client Account ============")
print("========== (b). The Client Withdraw a Money ============")
print("========== (c). The Client Deposit a Money ============")
print("========== (d). Check Clients & Balance ============")
print("========== (e). Quit ============")
print("************************************************************")
41
Code for Client Registration
Account:
if EnterLetter == "a":
print(" Letter a is Selected by the Client")
NumberOfClient = eval(input("Number of Clients : "))
u = u + NumberOfClient
if u > 7:
print("\n")
print("Client registration exceed reached or Client registration too low")
u = u - NumberOfClient
else:
while disk1 <= u:
name = input("Write Your Fullname : ")
NamesOFClients.append(name)
pin = str(input("Please Write a Pin to Secure your Account : "))
ClientPins.append(pin)
ClientBalance = 0
ClientDeposition = eval(input("Please Insert a Money to Deposit to Start an Account : "))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances.append(ClientBalance)
print("\nName=", end=" ")
print(NamesOFClients[disk2])
print("Pin=", end=" ")
print(ClientPins[disk2])
print("Balance=", "P", end=" ")
print(ClientBalances[disk2], end=" ")
disk1 = disk1 + 1
disk2 = disk2 + 1
print("\nYour name is added to Client Table")
print("Your pin is added to Client Table")
print("Your balance is added to Client Table")
print("----New Client account created successfully !----")
print("\n")
print("Your Name is Available on the Client list now : ")
print(NamesOFClients)
print("\n")
print("Note! Please remember the Name and Pin")
print("========================================")
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct Another Transaction or Quit_")
41
Code for Client withdrawing
an Amount:
41
Code for Client depositing an
Amount:
41
Code for Checking the Clients
and Balances:
41
Complete Source code:
41
EnterLetter = input("Select a Letter from the Above Box menu : ")
if EnterLetter == "a":
print(" Letter a is Selected by the Client")
NumberOfClient = eval(input("Number of Clients : "))
u = u + NumberOfClient
if u > 7:
print("\n")
print("Client registration exceed reached or Client registration too low")
u = u - NumberOfClient
else:
while disk1 <= u:
name = input("Write Your Fullname : ")
NamesOFClients.append(name)
pin = str(input("Please Write a Pin to Secure your Account : "))
ClientPins.append(pin)
ClientBalance = 0
ClientDeposition = eval(input("Please Insert a Money to Deposit to Start
an Account : "))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances.append(ClientBalance)
print("\nName=", end=" ")
41
print(NamesOFClients[disk2])
print("Pin=", end=" ")
print(ClientPins[disk2])
print("Balance=", "P", end=" ")
print(ClientBalances[disk2], end=" ")
disk1 = disk1 + 1
disk2 = disk2 + 1
print("\nYour name is added to Client Table")
print("Your pin is added to Client Table")
print("Your balance is added to Client Table")
print("----New Client account created successfully !----")
print("\n")
print("Your Name is Available on the Client list now : ")
print(NamesOFClients)
print("\n")
print("Note! Please remember the Name and Pin")
print("========================================")
41
v=0
print(" letter b is Selected by the Client")
while v < 1:
w = -1
name = input("Please Insert a name : ")
pin = input("Please Insert a pin : ")
while w < len(NamesOFClients) - 1:
w=w+1
if name == NamesOFClients[w]:
if pin == ClientPins[w]:
v=v+1
print("Your Current Balance:", "P", end=" ")
print(ClientBalances[w], end=" ")
print("\n")
ClientBalance = (ClientBalances[w])
ClientWithdrawal = eval(input("Insert value to Withdraw : "))
if ClientWithdrawal > ClientBalance:
deposition = eval(input(
"Please Deposit a higher Value because your Balance mentioned above
is not enough : "))
ClientBalance = ClientBalance + deposition
print("Your Current Balance:", "P", end=" ")
print(ClientBalance, end=" ")
ClientBalance = ClientBalance - ClientWithdrawal
41
print("-\n")
print("----Withdraw Successfully!----")
ClientBalances[w] = ClientBalance
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n\n")
else:
ClientBalance = ClientBalance - ClientWithdrawal
print("\n")
print("----Withdraw Successfully!----")
ClientBalances[w] = ClientBalance
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n")
if v < 1:
print("Your name and pin does not match!\n")
break
mainMenu = input(" Press Enter Key to go Back to Main Menu to
Conduct Another Transaction or Quit_")
elif EnterLetter == "c":
print("Letter c is selected by the Client")
x=0
while x < 1:
w = -1
41
name = input("Please Insert a name : ")
pin = input("Please Insert a pin : ")
while w < len(NamesOFClients) - 1:
w=w+1
if name == NamesOFClients[w]:
if pin == ClientPins[w]:
x=x+1
print("Your Current Balance: ", "P", end=" ")
print(ClientBalances[w], end=" ")
ClientBalance = (ClientBalances[w])
print("\n")
ClientDeposition = eval(input("Enter the value you want to deposit :
"))
ClientBalance = ClientBalance + ClientDeposition
ClientBalances[w] = ClientBalance
print("\n")
print("----Deposition successful!----")
print("Your New Balance: ", "P", ClientBalance, end=" ")
print("\n")
if x < 1:
print("Your name and pin does not match!\n")
break
41
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct
Another Transaction or Quit_")
elif EnterLetter == "d":
print("Letter d is selected by the Client")
w=0
print("Client name list and balances mentioned below : ")
print("\n")
while w <= len(NamesOFClients) - 1:
print("->.Customer =", NamesOFClients[w])
print("->.Balance =", "P", ClientBalances[w], end=" ")
print("\n")
w=w+1
mainMenu = input(" Press Enter Key to go Back to Main Menu to Conduct
Another Transaction or Quit_ ")
elif EnterLetter == "e":
print("letter e is selected by the client")
print("Thank you for using our banking system!")
print("\n")
print("Thank You and Come again")
print("God Bless")
break
else:
print("Invalid option selected by the Client")
print("Please Try again!")
41
SAMPLE
OUTPUTS
41
SAMPLE OUTPUTS
41
The Client withdraws Money:
41
The Client deposits Money:
41
Checking Clients balance:
41
FUTURE
ENHANCEMENT
41
FUTURE ENHANCEMENT
41
WEBLIOGRAPH
Y
41
WEBLIOGRAPHY
https://123projectlab.com
https://itsourcecode.com
https://www.kashipara.com
https://www.kashipara.com
https://en.wikipedia.org
https://codezips.com
41
BIBLIOGRAPH
Y
41
BIBLIOGRAPHY
41