+ 1

Why error in this code

If 10 > 5: print("10 greater than 5") print("proga ended")

6th Jan 2019, 6:49 PM
ЭЗИЗ
ЭЗИЗ - avatar
6 Answers
+ 4
Wow. I never knew spaces need only be consistant. For years I thought it had to be 4
6th Jan 2019, 9:07 PM
LordHill
LordHill - avatar
+ 3
Your second line has too many spaces. It needs 4
6th Jan 2019, 7:34 PM
LordHill
LordHill - avatar
+ 2
The only error is that "If" is capitalized. The amount of spaces you use doesn't matter as long as it is consistent. You can use four spaces, twelve spaces, one space, one tab, two tabs, ...
6th Jan 2019, 8:51 PM
Anna
Anna - avatar
+ 1
What is the error? And please be more clear with your questions. You should post the error you are getting, the language you are using, and what the expected output is. https://www.sololearn.com/discuss/1316935/?ref=app
6th Jan 2019, 7:00 PM
Zeke Williams
Zeke Williams - avatar
0
Thx
6th Jan 2019, 7:36 PM
ЭЗИЗ
ЭЗИЗ - avatar
0
Thx
6th Jan 2019, 7:36 PM
ЭЗИЗ
ЭЗИЗ - avatar