+ 2

Why doesn't this command work?

the=input("The:") if the=the: print(" there") else: print(" the")

20th Jan 2017, 2:50 AM
Connor
2 Answers
+ 6
need to be 2 = in -> if the == the: ....
20th Jan 2017, 2:52 AM
Kawaii
Kawaii - avatar
+ 2
Thanks!
20th Jan 2017, 2:52 AM
Connor