0

Why this program doesn't work

if input("name") == "john" print ("Hi john")

15th Feb 2017, 5:33 AM
Korhan Özdemir
Korhan Özdemir - avatar
3 Answers
+ 3
if input("name") == "john": print ("Hi john") you missed the colon ;)
15th Feb 2017, 5:42 AM
Mario L.
Mario L. - avatar
+ 1
thanks guys
15th Feb 2017, 5:46 AM
Korhan Özdemir
Korhan Özdemir - avatar