While using Python IDLE, by how many spaces are the code suites indented?

While using Python IDLE, 4 spaces are the code suites indented. However, the number of spaces is up to you, but a minimum of 1 space has to be used.
Explanation:
According to PEP 8, which is the official “Python style guidelines”, the user should indent with 4 spaces.
One space per level, one tab per level, 13 spaces per level, but rather than just leave this something for every project to arbitrarily choose, PEP 8 says: “Use 4 spaces per indentation level”.
Subscribe
Login
Please login to comment
0 Discussion