# 测试“not”与“==”的优先级 x = 1 y = 0 try: if x == not y: print("this priority is : x == (not y)") except SyntaxError as err: print(err)
Boolean Operations -- and, or, not
原文:https://www.cnblogs.com/ShuComputerProgram/p/10359106.html