Can someone help me with indentation in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone help me with indentation in python?

if possible please recommend some good source

10th Oct 2018, 1:02 PM
partha
partha - avatar
1 Answer
+ 4
Not really sure what you are looking for. Python requires all source within the scope of things like classes, defines, ifs, and loops to have an extra indention beyond them. Outer statements must not have any indention. All statements in the same scope must have identical indentions.
10th Oct 2018, 3:38 PM
John Wells
John Wells - avatar