-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBank statement
More file actions
45 lines (36 loc) · 977 Bytes
/
Copy pathBank statement
File metadata and controls
45 lines (36 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
money=int(input("how much money in your account\n"))
password=int(input("enter password\n"))
if(password==2244):
print("welcome")
choice=int(input("Enter choice\n1)For Transation\n2)For quit\n "))
if(choice==1):
withdraw=int(input("select op for withdraw\n1)20000\n2)10000\n3)50000\n4)other"))
if(withdraw==4):
cash=int(input("Enter amount"))
if(cash<=money):
print("collect", cash)
print("new balance", money-cash)
else:
print("no enough balance")
if(withdraw==1):
if(money>=20000):
print("collect 20000")
print("new balance is", money-20000)
else:
print("no enough balance")
if(withdraw==2):
if(money>=10000):
print("collect 10000")
print("new balance is", money-10000)
else:
print("no enough balance")
if(withdraw==3):
if(money>=5000):
print("collect 5000")
print("new balance is", money-20000)
else:
print("no enough balance")
else:
quit()
else:
print("enter correct password")