Is this valid ?

Mike Driscoll kyosohma at gmail.com
Wed Mar 19 17:24:13 EDT 2008


On Mar 19, 4:18 pm, Stef Mientki <stef.mien... at gmail.com> wrote:
> hello,
>
> by accident I typed a double value test,
> and to my surprise it seems to work.
> Is this valid ?
>
> a = 2
> b = 2
>
> a == b == 2
>
> thanks,
> Stef Mientki

It sure looks that way...

See http://www.python.org/doc/2.3.5/ref/comparisons.html for more
info.

Mike



More information about the Python-list mailing list