Did you meet the wrong of "unexpected indent"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Did you meet the wrong of "unexpected indent"?

i just use tab not space

17th Oct 2018, 3:13 AM
yong chen
yong chen - avatar
4 Answers
+ 2
yong chen It means you need to line up your code so the interpreter can execute the code. No one can help you unless you provide the code.
17th Oct 2018, 3:18 AM
Manual
Manual - avatar
+ 1
Can you elaborate as well as show your example? When posting a question give as much detail as possible ~ if you are looking for an answer...
17th Oct 2018, 3:19 AM
BroFar
BroFar - avatar
+ 1
This just looks like a tip to me, not a question...
17th Oct 2018, 4:53 AM
Kirk Schafer
Kirk Schafer - avatar
0
PyLint or use an IDE that checks for issues like these, like SPyders "Static Code Analysis"
17th Oct 2018, 3:55 AM
Steven M
Steven M - avatar