is indentation is compulsory in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

is indentation is compulsory in python

????

7th Dec 2016, 3:17 AM
Zameer shaikh
Zameer shaikh - avatar
3 Answers
+ 7
Yes. If your indentation (or "whitespace") is off, then it will cause errors.
7th Dec 2016, 3:28 AM
Keto Z
Keto Z - avatar
+ 5
yes of course. since you actually don't open and close flower brackets for statements in python, indentation is must!
7th Dec 2016, 4:08 AM
P Sandesh Baliga
P Sandesh Baliga - avatar
+ 5
Even if you figure out a way to bypass indentation, pythons will rise out from under your bed and strangle you while you're asleep.
7th Dec 2016, 5:08 AM
Ahri Fox
Ahri Fox - avatar