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

Python loops syntax error

I'm new to python how you guys write code with out curly brace for me every time I'm getting syntax error

1st Jul 2020, 9:38 AM
Vek
Vek - avatar
2 Answers
+ 4
Here a detailed explanation of how blocks are done in Python. (Just read - don't run.) https://code.sololearn.com/cT5BRIbkia21/?ref=app
1st Jul 2020, 10:39 AM
HonFu
HonFu - avatar
+ 3
Learn about the indentation gap . Because in python it matters a lot
1st Jul 2020, 9:47 AM
Ayush Kumar
Ayush Kumar - avatar