The Zen of Python is an Easter Egg that very long time Pythoneer (Tim Peters) channeled the guiding principals for the languageās design principals into 20 aphorisms, of which solely 19 of them are written down.
Find out how to entry this Zen of Python Easter Egg
By importing this into your Python utility, it’ll instantly print as follows:
What’s the Zen of Python?
Lovely is best than ugly.
Specific is best than implicit.
Easy is best than advanced.
Advanced is best than sophisticated.
Flat is best than nested.
Sparse is best than dense.
Readability counts.
Particular instances arenāt particular sufficient to interrupt the foundations.
Though practicality beats purity.
Errors ought to by no means move silently.
Until explicitly silenced.
Within the face of ambiguity, refuse the temptation to guess.
There must be oneā and ideally just one āapparent method to do it.
Though that approach might not be apparent at first except youāre Dutch.
Now’s higher than by no means.
Though by no means is commonly higher than proper now.
If the implementation is difficult to clarify, itās a foul thought.
If the implementation is simple to clarify, it might be a good suggestion.
Namespaces are one honking nice thought ā letās do extra of these!
