+ 1

X=input() If input="two": Print("good job") Else Print("not correct") Not the capitals The print The input is fine

24th Dec 2016, 3:27 PM
Nate
10 odpowiedzi
+ 5
X=input("") if X=="two": print("good job") else: print("not correct") this code is right .i have already tested it.
24th Dec 2016, 4:19 PM
YuHai
YuHai - avatar
+ 1
your cod is wrong
24th Dec 2016, 4:14 PM
Minovsky
Minovsky - avatar
+ 1
X=input() if X=="two": print("good job") else print("not correct")
24th Dec 2016, 4:15 PM
Minovsky
Minovsky - avatar
+ 1
make sure that before you code: print("good job") you need to add a space before it.
24th Dec 2016, 5:20 PM
YuHai
YuHai - avatar
+ 1
Thank you very much I have been wondering this for a long time.
24th Dec 2016, 6:16 PM
Nate
0
what is your problem? you need to tell us exactly.
24th Dec 2016, 3:51 PM
YuHai
YuHai - avatar
0
I guess it's my iPad then sorry
24th Dec 2016, 5:02 PM
Nate
0
no problem
24th Dec 2016, 5:03 PM
YuHai
YuHai - avatar
0
It says indentation error what does this mean and how do I fix it
24th Dec 2016, 5:06 PM
Nate
0
On print the first one
24th Dec 2016, 5:07 PM
Nate