Whn writing ths code in the python console on my laptop I hv 2 indent the line n ordr 4 the code 2 run properly. Is this normal? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Whn writing ths code in the python console on my laptop I hv 2 indent the line n ordr 4 the code 2 run properly. Is this normal?

20th Nov 2016, 8:57 PM
Wayne Porter
Wayne Porter - avatar
2 Answers
+ 1
Python is heavily indentation based, so yes, you must indent your code properly.
20th Nov 2016, 9:00 PM
asdadasdsaczxc
+ 1
thank you Daniel. Joao, I'm referring to the 10>5 if statement example
20th Nov 2016, 9:27 PM
Wayne Porter
Wayne Porter - avatar