Why can't I break out of the first while loop when I type in joe
or Joe
?
joe = ''
password = ''
while joe != 'Joe' or 'joe':
print('Who are you?')
joe = input()
while password != 'swordfish' or 'Swordfish':
if joe == 'joe' or 'Joe':
print('What is the password? (Hint: its a fish)')
password = input()
if joe == 'Joe' or 'joe' and password == 'swordfish' or 'Swordfish':
print('Access Granted')
else:
print('Access Denied')