I always get an error that says ' expected an indented block' in a noob can somebody pls help me? Python 3 beginner | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I always get an error that says ' expected an indented block' in a noob can somebody pls help me? Python 3 beginner

6th Jul 2018, 11:28 AM
Shaibu Junior
Shaibu Junior - avatar
2 Answers
+ 1
Post your code
6th Jul 2018, 11:33 AM
Sad
Sad - avatar
+ 1
there may be two reson 1. you may be missing a ':' after a if,while, function,class,etc. 2.you may not be giving four spaces inside an if,while, function,class,etc.
6th Jul 2018, 12:10 PM
Pulkit Kamboj
Pulkit Kamboj - avatar