Start learning →
Home › Olympiad (Class 10) › Computer Science › Booleans and Decisions › PEP 8 recommends indenting each level of a Pytho…

PEP 8 recommends indenting each level of a Python body by how many spaces?

A6
B8
C4
D2
Answer & Solution
Correct answer: C. 4
1. Python uses indentation to group statements. 2. The style guide fixes the size of one level. 3. That size is 4 spaces. _Source: OpenStax Introduction to Python Programming, Chapter 4._
Practise this question with Quill — Olympiad (Class 10) →
Related questions