Professional Documents
Culture Documents
restart = ("Y")
chances = 3
Balance = 20000
if pin == (1233):
print("you entered a correct pin\n")
while restart not in ('n', 'No', 'no', 'N'):
print('press 1 to check a balance \n')
if option == 1:
print('Thank You')
break
elif option == 2:
option2 = ('Y')
withdrawl = int(input('Enter THe Amount You Want
Withdrawl :\n $10,$20,$40,$60,$80,$100 \n :' ))
if restart in ('n','NO','no','N'):
print("Thank You")
break
elif withdrawl != [10, 20, 40, 60, 80, 100]:
elif withdrawl == 1:
if restart in ('n','NO','no','N'):
print('Thank You')
break
elif option ==4 :
print("Thank You")
break
else:
restart = ('Y')
elif pin != (1233):
print('Wrong Pin')
chances = chances - 1
if chances == 0:
print("No More Attempt Left")
break