掌握逻辑运算 与 >>> 1 and 2 2 >>> 0 and 2 0 >>> 3<4 and 4>5 False 或 >>> 1 or 2 1 >>> 0 or 2 2 >>> 3<4 or 4>5 True 非 >>> not(1) False >>> not(0) True 了解链式表达式 >>> 1 in [1.0] True >>> [1,0] ==True False >>> 1 == True True >>> (1 in [1.0]) and ([1,0] == True) False >>> 1 in [1,0] ==True False