Why doesn't this statement execute in Python:
1 == not 0
I get a syntax error, but I don't know why.
Because == has higher precedence than 'not', so you are asking for (1 == not) 0
Try >>> 1 == (not 0) True
Kent
Thanks, Adam Roan
-- http://mail.python.org/mailman/listinfo/python-list