banking-system-python
banking system with python, beginner friendly, preadvanced level
Used topics
Functions
else/if/elif
dicts
methods
parameters
holders
and more basic stuff
Master functions
login system
proccess system
db system (Dict)
Avg Functions
send money
show balance
takeout money
exit
Accounts
first acc:
id: 1
passcode: 1
sn: 1
seconed acc:
id: 2
passcode: 2
sn: 2
how to modify or make a new account
go to the dict ids and edit the details for example this a dict that have only account 1 and 2
ids = {
1: {
"passcode" : 1,
"sn" : 1,
"amount" : 20.5,
"name" : "Razi"
},
2: {
"passcode" : 2,
"sn" : 2,
"amount" : 630.5,
"name" : "Eliot"
}
}
add account with the id 8326424
ids = {
1: {
"passcode" : 1,
"sn" : 1,
"amount" : 20.5,
"name" : "Razi"
},
2: {
"passcode" : 2,
"sn" : 2,
"amount" : 630.5,
"name" : "Eliot"
},
8326424 : {
"passcode": 321675,
"sn": 252316,
"amount": 12525.352,
"name": "robert"
}
}
we just made an account with:
id: 8326424
passcode: 321675
sn: 252316
amount: 12525.352$
name: robert