Chris Angelico <ros...@gmail.com> writes: > Or you could say "not [1,2,3] == not True", > but that's a bit less clear....
It's less clear in more ways than one: 3.6> not [1,2,3] == not True File "<stdin>", line 1 not [1,2,3] == not True ^ SyntaxError: invalid syntax 3.6> not [1,2,3] == (not True) True 3.6> not [] == (not True) True 3.6> (not []) == (not True) False -- Alan Bawden -- https://mail.python.org/mailman/listinfo/python-list