Practice mode Python

Which statement displays “The Zen of Python” guiding principles described in PEP 20?

Correct answer A. import this

Explanation

PEP 20 lists 19 aphorisms, such as "Readability counts", that summarise Python's design philosophy. They are included in the standard distribution as an easter egg: running import this in an interpreter prints them. There is no zen module and no __zen__ name.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.