Equality operator
Anthony Boyd
bagofholding at gmail.com
Sat Mar 5 17:09:26 EST 2005
More information about the Python-list mailing list
Sat Mar 5 17:09:26 EST 2005
- Previous message (by thread): Equality operator
- Next message (by thread): Python and VT100
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Equality operator
- Next message (by thread): Python and VT100
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list