This is not an easter egg, but a joke using the Zen.

    >>> import this
    ...
    >>> love = this
    >>> this is love
    True
    >>> love is True
    False
    >>> love is False
    False
    >>> love is not True or False
    True
    >>> love is not True or False; love is love
    True
    True

Hopefully, an apt one for the Valentine's day.

Source: 
http://www.redmountainsw.com/wordpress/archives/a-joke-in-the-python-interpreter

--Anand

On Tue, Feb 10, 2009 at 7:00 PM, Senthil Kumaran <orsent...@gmail.com> wrote:
> On Tue, Feb 10, 2009 at 6:54 PM, Anand Balachandran Pillai
> <abpil...@gmail.com> wrote:
>> If anyone had a doubt whether to use list comprehension
>> in their code, they have the answer - it is right there
>> as part of the Zen of Python ...:)
>
> Thats a good way of looking at things. :)
>
>
> --
> --
> Senthil
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
-Anand
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to