2016-11-29 | Paul Boddie | file changeset files shortlog | Moved __contains__ to the sequence module, providing an implementation. Added tests of "in", "not in" and operator syntax. |
paul@279 | 1 | print 1 == 1 # True |
paul@279 | 2 | print 1 != 1 # False |
paul@279 | 3 | print 1 == "one" # False |
paul@279 | 4 | print 1 != "one" # True |