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

This does: 1 == (not 0)
I presume Python treats it like

1 (== not) 0

Which is a SyntaxError

greets,
Marek

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

Reply via email to