a + not b

Rob Cliffe rob.cliffe at btinternet.com
Wed Mar 3 22:18:31 EST 2021


I can't work out why
     1 + - 1
     1 + (not 1)
are legal syntax, but
     1 + not 1
isn't.
Is there a good reason for this?
Thanks
Rob Cliffe



More information about the Python-list mailing list