orkohunter / python-easter-eggs Goto Github PK
View Code? Open in Web Editor NEWCurated list of all the easter eggs and hidden jokes in Python
Curated list of all the easter eggs and hidden jokes in Python
The footnote of Section 6: It's not a choice, it defines who we are states:
This is to instantly close down any conversation about introducing curly braces to Python.
Even though it is correct, such a harsh statement may disappoint even the most stone-hearted programmer. But Python never disappoints you. It is so versatile that it allows using curly braces, and even any block delimiter of your choise, provided that you prepend #
.
# This is allowed
resume = "knows Python"
if 'Python' in resume: # {
print('You rock!')
# }
# This is also allowed
resume = "knows Python"
if 'Python' in resume:
# BEGIN
print('You rock!')
# END
Do you think this encouraging reflection is worth being added, even though it is not an easter egg?
Bonus track: With Whython your dreams come true. You can type code blocks with braces.
Note 14 refers to the 15th, and the 14th doesn't have any note.
Line 196 in a3b7202
Line 220 in a3b7202
History: #7 didn't add a note, #10 forgot to skip that.
I can make a PR, but should we add a note for 14, jump to 15, or use footnotes [^1]
(GitHub has supported it since 2021-09-30) instead?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.