You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Your Current Balance is RS",bal[0],"\nTHANKYOU!!! for Visiting us")
37
+
elifchoice==2:
38
+
d=eval(input("Enter Amount You want to Withdraw: "))
39
+
print("\n Wait... Your transaction is being proceed")
40
+
time.sleep(3)
41
+
ifd>bal[0]:
42
+
print("You cannot Withdraw Amount more than Your current Balance")
43
+
else:
44
+
print("\nYour A/C is debited by RS",d)
45
+
print("Your Current Balance is RS",bal[0]-d,"\n\nTHANKYOU!!!")
46
+
elifchoice==3:
47
+
u=input('Enter user id: ')
48
+
ifu==user[0]:
49
+
print("1)Mobile No\n2)Email id")
50
+
choice=int(input("Please Enter Your Choice through which We can send your Password: "))
51
+
ifchoice==1:
52
+
mo=eval(input("Enter Your Mobile No: "))
53
+
print("OTP has been sent to your Mobile No")
54
+
o=int(input("Enter OTP: "))
55
+
print(" \n Wait for a second...\n")
56
+
time.sleep(2)
57
+
ifo==OTP[0]:
58
+
print("Password has been successfully!!! sent to your Mobile number, please Remember your Password for Future Reference\nPlease Login Again if you want to perform Another Task")
59
+
else:
60
+
print("Incorrect OTP\nPlease Login Again")
61
+
elifchoice==2:
62
+
e=input("Enter Your Email id: ")
63
+
print("OTP has been sent to your Email id")
64
+
o=int(input("Enter OTP: "))
65
+
print(" Wait for a second...")
66
+
time.sleep(2)
67
+
ifo==OTP[0]:
68
+
print("Password has been successfully!!! sent to your Email id, please Remember your Password for Future Reference\nPlease Login Again if you want to perform Another Task")
69
+
else:
70
+
print("Incorrect OTP\nPlease Login Again")
71
+
else:
72
+
print("You have Entered Incorrect Choice\nPlease Login Again")
73
+
74
+
else:
75
+
print("User id is Incorrect\nPlease Login Again")
76
+
elifchoice==4:
77
+
print("1)YES\n2)NO")
78
+
choice=int(input("Are you Sure: "))
79
+
ifchoice==1:
80
+
print("Thankyou!! for transactions with Our ATM SYSTEM")
81
+
print("Never share Your Password with Anyone, Bank will never ask For Your Password")
82
+
elifchoice==2:
83
+
print("Sorry!! Your session has Expired You Need to Login again")
84
+
else:
85
+
print("You have Entered Incorrect Choice")
86
+
else:
87
+
print("Sorry You have Entered Incorrect Choice\nPlease Login Again")
print("Your Current Balance is RS",bal[1],"\nTHANKYOU!!! for Visiting us")
100
+
elifchoice==2:
101
+
d=eval(input("Enter Amount You want to Withdraw: "))
102
+
print("\n Wait... Your transaction is being proceed")
103
+
time.sleep(3)
104
+
ifd>bal[1]:
105
+
print("You cannot Withdraw Amount more than Your current Balance")
106
+
else:
107
+
print("\nYour A/C is Debited by RS",d)
108
+
print("Your Current Balance is RS",bal[1]-d,"\n\n THANKYOU!!!")
109
+
elifchoice==3:
110
+
u=input('Enter user id: ')
111
+
ifu==user[1]:
112
+
print("1)Mobile No\n2)Email id")
113
+
choice=int(input("\nPlease Enter Your Choice through which We can send your Password: "))
114
+
ifchoice==1:
115
+
mo=eval(input("Enter Your Mobile No: "))
116
+
print("OTP has been sent to your Mobile No")
117
+
o=int(input("Enter OTP: "))
118
+
print(" Wait for a second...")
119
+
time.sleep(2)
120
+
ifo==OTP[1]:
121
+
print("Password has been successfully!!! sent to your Mobile number, please Remember your Password for Future Reference\nPlease Login Again if you want to perform Another Task")
122
+
else:
123
+
print("Incorrect OTP\nPlease Login Again")
124
+
elifchoice==2:
125
+
e=input("Enter Your Email id: ")
126
+
print("OTP has been sent to your Email id")
127
+
o=int(input("Enter OTP: "))
128
+
print(" \n Wait for a second...\n")
129
+
time.sleep(2)
130
+
ifo==OTP[1]:
131
+
print("Password has been successfully!!! sent to your Email id, please Remember your Password for Future Reference\nPlease Login Again if you want to perform Another Task")
132
+
else:
133
+
print("Incorrect OTP")
134
+
else:
135
+
print("Sorry You have Entered Incorrect Choice\nPlease Login Again")
136
+
else:
137
+
print("User id is Incorrect\nPlease Login Again")
138
+
elifchoice==4:
139
+
print("1)YES\n2)NO")
140
+
choice=int(input("Are you Sure: "))
141
+
ifchoice==1:
142
+
print("Thankyou!! for transactions with Our ATM SYSTEM")
143
+
print("Never share Your Password with Anyone, Bank will never ask your Password")
144
+
elifchoice==2:
145
+
print("Sorry!! Your session has Expired You Need to Login again")
146
+
else:
147
+
print("You have Entered Incorrect Choice")
148
+
else:
149
+
print("You have Entered Incorrect Choice\nPlease Login Again")
0 commit comments