Indention Flashcards
1
Q
In Python, indentation is crucial because it defines the structure of the code and it determines which lines of code belong to which parts of the program.
A
True
2
Q
Python 3 __________ mixing the use of tabs and spaces for indentation.
1) Allows
2) Disallows
3) Encourages
A
2) Disallows
3
Q
Select the recommended form of indentation in Python:
1) Tabs
2) Spaces
A
2) Spaces
4
Q
In Python, it is permissible to break before or after a binary operator, as long as the convention is consistent locally.
1) True
2) False
A
True