Syntax error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Syntax error

Expected an indent block

29th Apr 2018, 7:44 AM
samarth sachan
samarth sachan - avatar
3 Answers
+ 3
Because Python isn ' t using curly brackets for blocks, you have to do a correct indent: Correct: while x < 3: //Here Stuff Wrong while x < 3: //Here Stuff
29th Apr 2018, 7:54 AM
Jonas Schröter
Jonas Schröter - avatar
+ 1
You're talking about Python?
29th Apr 2018, 7:52 AM
Jonas Schröter
Jonas Schröter - avatar
0
Yes
29th Apr 2018, 7:52 AM
samarth sachan
samarth sachan - avatar