banking system with python, beginner friendly, preadvanced level
Functions
else/if/elif
dicts
methods
parameters
holders
login system
proccess system
db system (Dict)
send money
show balance
takeout money
first acc: id: 1 passcode: 1 sn: 1exit
seconed acc: id: 2 passcode: 2 sn: 2
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