Which command prints the Zen of Python?
-
A
import zen
-
B
import this
Correct answer
-
C
from python import zen
-
D
print(zen)
Correct answer
B. import this
5 views
Explanation
Running import this displays the Zen of Python by Tim Peters.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ