[SOLVED] How do i correct an indentation error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

[SOLVED] How do i correct an indentation error

28th Apr 2020, 9:16 AM
martin fonson
martin fonson - avatar
2 Answers
+ 4
By fixing the wrong indentation. Without seeing your code, it's impossible for us to tell what exactly the problem is. But if you have trouble with indentation in general, you may try to read (not run) this tutorial here. https://code.sololearn.com/cT5BRIbkia21/?ref=app
28th Apr 2020, 9:26 AM
HonFu
HonFu - avatar
+ 2
Use tabs or spaces after the colon(:) to define a block of code.
28th Apr 2020, 9:25 AM
Terminal_Phantom
Terminal_Phantom - avatar