I am making an ATM system and it doesn't seem to be working properly, as no matter what is inputted, Python3 keeps on thinking that the first option ('n' or 'N') is correct. Can anyone help me solve this problem please?
Thank You :)
def show_menu():
proceed = False
while proceed == False:
print('Card Inserted?')
inp_card = input('Y / N > ')
if inp_card == 'n' or 'N':
print('Please input your card')
elif inp_card == 'y' or 'Y':
proceed = True
print('Please input your PIN')
inp_pin = input('PIN > ')
else:
print('Invalid Option!')
else:
pass