most ambiguous line of code ever written?

John Ladasky john_ladasky at sbcglobal.net
Wed Jun 3 13:13:15 EDT 2015


On Wednesday, June 3, 2015 at 8:21:43 AM UTC-7, Mark Lawrence wrote:

> right = not right
> 
> Isn't that just beautiful?

A few weeks ago, we were discussing the fact that, in Python 2, True = False, and False = True, were both legal statements in Python.  I remarked: "every politician's dream!"  This remark would apply equally well to your clever statement.



More information about the Python-list mailing list