+ 1

How identation works ?

Can somebody explain me how identation works i mean in big if elif statements

3rd Aug 2019, 5:22 AM
Kawal Kamboj
2 Réponses
+ 2
Python uses indentation to denote scope just like curly braces in some other languages.
3rd Aug 2019, 7:42 AM
Sonic
Sonic - avatar
+ 1
This is the basic concept in python identation.you can extend it for as many code blocks you want. https://code.sololearn.com/cMDzJHNOB2Pj/?ref=app Hope this helps.
3rd Aug 2019, 7:19 AM
_rk
_rk - avatar