while True:
question = input('Enter the secret word: ')
if question in ['happy', 'Happy', 'HAPPY']:
print('Great Job!')
else:
print('Try again!')
This code works but what if the user types HaPpY
. My computer won't recognize and will say Try again!
How do I prevent this?