+ 1
Whats wrong with elif code
x=5 if x>6: print('6') elif x==5: print('5') there is awrong in elif statment and i cant figure it out always give me error
5 ответов
+ 2
Sololearn's editor doesn't always do that
+ 1
You need to indent your code
https://code.sololearn.com/cw28LUy3f1GF/?ref=app
+ 1
Mohamed Kamel Nada
When it comes to Python, the Sololearn code editor doesn't auto-indent code for you
0
shouldnt i just press enter and it will be like auto identation
0
thx guys it did work out :)