You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 allowedresume="knows Python"if'Python'inresume: # {print('You rock!')
# } # This is also allowedresume="knows Python"if'Python'inresume:
# BEGINprint('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.
The text was updated successfully, but these errors were encountered:
The footnote of Section 6: It's not a choice, it defines who we are states:
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
#
.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.
The text was updated successfully, but these errors were encountered: