I'm new to coding with python and I've came across an issue with my variables in an "if" or "else" command.
Answer = input("Yo stupid, What\'s nine plus ten?")
if Answer == 19: print("Your smarter then me.")
else Answer >= 21: print("You stupid!")
^^ When I attempt to run my code It tells me I have made an error with my syntax. It always pops up with my variable "Answer" in the "if" or "else" command. Any help would be greatly appreciated. Thanks in advance.
elifinstead ofelseinputreturns a string, so"19" == 19will be false.