0% found this document useful (0 votes)
31 views23 pages

CS Project Bank Management System 2023 24

Uploaded by

aakaashram8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views23 pages

CS Project Bank Management System 2023 24

Uploaded by

aakaashram8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

ACKNOWLEDMENT:

It is with pleasure that I acknowledge my


sincere gratitude to our teacher, MR. John
Stephen, who taught and undertook the
responsibility of teaching the subject
computer science. I have been greatly
benefited from his classes.

I am especially indebted to our Principal Bro


Robert who has always been a source of
encouragement and support and without
whose inspiration this project would not have
been a successful I would like to place on
record heartfelt thanks to him.

Finally, I would like to express my sincere


appreciation for all the other students for my
batch their friendship & the fine time that we
all shared together.
HARDWARES AND SOFTWARES:
REQUIRED HARDWARES:
1.Desktop
2.Computer/Laptop
3.Windows 10

SOFTWARES:
1.Python
CONTENTS

S.NO TOPIC
1. Certificate
2. Acknowledgement
3. Hardware and software required
4. Introduction
5. Python Source Code
6. Outputs
7. Bibliography
4. INTRODUCTION:
The project ATM Management System
presented here represents a pivotal
solution in the realm of financial
management, blending the sophistication
and dynamic capabilities of Python.

This amalgamation results in a


comprehensive system that caters to both
administrative and user functionalities,
transaction,etc.
Evolution of Management Systems using
Python:
 The evolution of management systems,
especially in the banking sector, has witnessed a
paradigm shift with the advent of powerful
programming languages like Python and robust
database management systems such as MySQL.
 Python, recognized for its simplicity, readability,
and versatility, serves as the ideal front end
language for developing user-friendly interfaces.

Purpose of the ATM Management System:


 The ATM Management System project aims to
address several key challenges in traditional
banking operations.
 By leveraging Python's intuitive programming
features and robust data management
capabilities, the system provides an agile and
user-centric platform for both customers and
administrators.
User Functions:
•View Balance: Account holders can check their
account balance in real-time, fostering transparency
and financial awareness.

•Give Feedback: The system facilitates a channel for


users to provide feedback ensuring continuous
improvement based on user input.

•View Transaction History: Users have access to their


transaction history, aiding in financial record-keeping and
reconciliation.
#!/usr/bin/python
#cbsepython.in
import getpass
import string
import os

# creating a lists of users, their PINs

and bank statements


users = ['jitendra', 'sunny', 'vivek']
pins = ['1111', '2222', '3333']
amounts = [1000, 2000, 3000]
count = 0
# while loop checks existance of the
enterd username
while True:
user = input('\nENTER USER NAME: ')
print(user)
user = user.lower()
if user in users:
if user == users[0]:
n=0
elif user == users[1]:
n=1
else:
n=2
break
else:
print('----------------')
print('****************')
print('INVALID USERNAME')
print('****************')
print('----------------')

# comparing pin
while count < 3:
print('------------------')
pin = str(input('PLEASE ENTER PIN:'))
print('------------------')
if pin.isdigit():
if user == users[0]:
if pin == pins[0]:
break
else:
count += 1
print('-----------')
print('***********')
print('INVALID PIN')
print('***********')
print('-----------')
print()

if user == users[1]:
if pin == pins[1]:
break
else:
count += 1
print('-----------')
print('***********')
print('INVALID PIN')
print('***********')
print('-----------')
print()
if user == users[2]:
if pin == pins[2]:
break
else:
count += 1
print('-----------')
print('***********')
print('INVALID PIN')
print('***********')
print('-----------')
print()
else:
print('------------------------')
print('************************')
print('PIN CONSISTS OF 4 DIGITS')
print('************************')
print('------------------------')
count += 1

# in case of a valid pin- continuing, or

exiting
if count == 3:
print('-----------------------------------')
print('***********************************')
print('3 UNSUCCESFUL PIN ATTEMPTS, EXITING')
print('!!!!!YOUR CARD HAS BEEN LOCKED!!!!!')
print('********************************')
print('--------------------------------')
exit()

print('-------------------------')
print('*************************')
print('LOGIN SUCCESFUL, CONTINUE')
print('*************************')
print('-------------------------')
print()
print('--------------------------')
print('**************************')
print(str.capitalize(users[n]),'welcome to ATM')
print('**************************')
print('----------ATM SYSTEM-----------')
# Main menu
while True:
#os.system('clear')
print('----------------------------')
print('*****************************')
response = input('SELECT FROM FOLLOWING
OPTIONS:\nStatement__(S) \nWithdraw___(W)\
nLodgement__(L) \nChange PIN_(P)\
nQuit_______(Q) \n: ').lower()
print('*****************************')
print('-----------------------------')
valid_responses = ['s', 'w', 'l','p','q']
response = response.lower()
if response == 's':
print('-----------------------------')
print('*****************************')
print(str.capitalize(users[n]), 'YOU HAVE ',
amounts[n],'RUPEES ON YOUR ACCOUNT.')
print('******************************')
print('--------------------------------')

elif response == 'w':


print('---------------------------------------------')
print('********************************')
cash_out = int(input('ENTER AMOUNT YOU WOULD
LIKE TO WITHDRAW: '))
print('********************************')
print('--------------------------------')
if cash_out%10 != 0:
print('--------------------------------')
print('********************')
print('AMOUNT YOU WANT TO WITHDRAW
MUST TO MATCH 10 RUPEES NOTES')
print('********************************')
print('--------------------------------')
elif cash_out > amounts[n]:
print('-----------------------------')
print('*****************************')
print('YOU HAVE INSUFFICIENT BALANCE')
print('*****************************')
print('-----------------------------')
else:
amounts[n] = amounts[n] - cash_out
print('-----------------------------------')
print('***********************************')
print('YOUR NEW BALANCE IS: ', amounts[n],
'RUPEES')
print('***********************************')
print('-----------------------------------')

elif response == 'l':


print()
print('---------------------------------------------')
print('*************************************')
cash_in = int(input('ENTER AMOUNT YOU WANT
TO LODGE: '))
print('*************************************')
print('---------------------------------------------')
print()
if cash_in%10 != 0:
print('--------------------------------------------------')
print('************************************')
print('AMOUNT YOU WANT TO LODGE MUST
TO MATCH 10 RUPEES NOTES')
print('************************************')
print('--------------------------------------------------')
else:
amounts[n] = amounts[n] + cash_in
print('----------------------------------------')
print('************************************')
print('YOUR NEW BALANCE IS: ', amounts[n],
'RUPEES')
print('************************************')
print('----------------------------------------')
elif response == 'p':
print('-----------------------------')
print('*****************************')
new_pin = str(input('ENTER A NEW PIN: '))
print('*****************************')
print('-----------------------------')
if new_pin.isdigit() and new_pin != pins[n] and
len(new_pin) == 4:
print('------------------')
print('******************')
new_ppin = str(input('CONFIRM NEW PIN: '))
print('*******************')
print('-------------------')
if new_ppin != new_pin:
print('------------')
print('************')
print('PIN MISMATCH')
print('************')
print('------------')
else:
pins[n] = new_pin
print('NEW PIN SAVED')
else:
print('-------------------------------------')
print('*************************************')
print(' NEW PIN MUST CONSIST OF 4 DIGITS \
nAND MUST BE DIFFERENT TO PREVIOUS PIN')
print('*************************************')
print('-------------------------------------')
elif response == 'q':
exit()
else:
print('------------------')
print('******************')
print('RESPONSE NOT VALID')
print('******************')
print('------------------------------‘) s
output

1.Entering username and


password:

If wrong username or password is


given:
2.Main block of the program

3.Output for account statement:


4.output for withdraw:
5.output for cash deposite
6.output for pin changing:
Biblography :

1.cbse computer textbook


2.cbsepython.in
3.geekforgeeks.com
4.AI(artificial intelligence)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy