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 would instantly print as follows:
What’s the Zen of Python
?
Lovely is best than ugly.
Express is best than implicit.
Easy is best than complicated.
Complicated 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 principles.
Though practicality beats purity.
Errors ought to by no means move silently.
Except explicitly silenced.
Within the face of ambiguity, refuse the temptation to guess.
There needs to be oneā and ideally just one āapparent solution to do it.
Though that approach is probably not apparent at first until youāre Dutch.
Now could be higher than by no means.
Though by no means is usually higher than proper now.
If the implementation is difficult to elucidate, itās a nasty thought.
If the implementation is straightforward to elucidate, it could be a good suggestion.
Namespaces are one honking nice thought ā letās do extra of these!