List

While other languages mark blocks mostly with braces or begin/end flags, Python does so using compulsory indentation ( although indentation is suggested in the former as well). Being a Python coach, I have observed that this generates a debate every time in my classes.

Today I came across this easter egg on braces which indicates what Python development team thinks about braces.


>>> from __future__ import braces
File "", line 1
SyntaxError: not a chance

I found this pretty funny. It is as excellent as the “recursion” easter egg in the Google Search engine ( search for the word recursion using google and see what the search suggestion (Did You Mean) say!).

You might want to try the following easter eggs in Python as well:


>>> import this
>>> import antigravity

Leave a Reply

Your email address will not be published. Required fields are marked *