italy wrote:
> Why doesn't this statement execute in Python:
>
> 1 == not 0
>
> I get a syntax error, but I don't know why.
>
> Thanks,
> Adam Roan

Of course, you would normally want to use != to see if something is not
equal to something else.

1 != 0
True

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to