+ 1
What does indent / indentation mean ?
2 Réponses
+ 17
To indicate a block of code in Python, you must indent each line of the block by the same amount. The two blocks of code in our example if-statement are both indented four spaces, which is a typical amount of indentation for Python.
http://www.peachpit.com/articles/article.aspx?p=1312792&seqNum=3
0
Indention makes the code blocks more 'readable'. Embedding comments also helps