I am a newbie programmer and am trying to code a program where I ask the user for a specific input like Obama, Clinton or Bush and congratulate them when they give the right answer or notify them when they give the wrong answer.
I am pretty sure I made a very simple and a dumb mistake so I would appreciate it if anyone could help me out.
def main ():
pres = input ('Please enter the surname of a recent President of the United States: ')
if pres == 'Bush' or 'Obama' or 'Clinton':
print('Great job! You know your stuff!')
else:
print('Sorry, that was incorrect.')
main()
Thank you!