+ 2
where is the mistake? please tell me
print ("hello") x=(str(input())) if x == "hello": print ("bye") elif x == "bye": print ("hello") else: print("I do not understand")
6 Answers
+ 5
Align the `elif` and `else` line at the same indent level to the `if` line.
+ 11
ŠøŠ²Š°Š½
Indentation problem
Indent elif to the align of if
+ 9
ŠøŠ²Š°Š½
Always Welcome.
Goo speed and interest though.
Keep it upš„š ;)
+ 4
your indents have a problem
if, elif and else should be on same vertical line.
+ 3
thanks, your answers helped me
https://code.sololearn.com/c4Qk6ZusRw8I/?ref=app
+ 3
use the TAB button on the sololearn editor for a proper indention after the elif and else.