Aug-30-2017, 04:03 PM
I'm fairly new to python and just started yesterday. I gathered the most that I know and formed a little game or set of questions that the user would input his results and it'll come out. However, I reached a point where this one code would not work! Check it out, what have I done wrong.
number = input("type number") if number is 5: print("correct") else: print("wrong")as soon as I input 5 in the system, it'll execute "wrong" even when the input is 5. Why?