算术运算 +,-,*,/,//,%,** 函数运算 import math 使用math 的函数 逻辑运算 或,与,非 链式表达式 本质是进行逻辑运算 1 in [1,0] ==True 即: (1 in [1,0]) and ([1,0]==Ture) >>> 1 in [1,0] ==True False #与加上括号的含义是不同的 >>> (1 in [1,0]) ==True True