Python hides a collection of guiding principles. How do you display the Zen of Python?
Hint 1: In a Python interpreter, try importing something called “this”.
Hint 2: `import this` in Python will unveil a list of aphorisms.
Solution:
In a Python REPL, type `import this`. This prints βThe Zen of Python,β a poem of programming principles (e.g., “Beautiful is better than ugly…”). It’s a built-in Easter egg.

Leave a Reply