# ChapterLogic/boole0.py # Logical operators: and( also &), or (also |), not """ >>> 5 > 3 True >>> 1 > 9 False >>> (5 > 3 ) and (1 < 3) True >>> False False >>> True or True True >>> True and False False >>> not(0) True >>> (0 and True) 0 >>> (1 and False) False >>> (1 and (True and False)) False >>> not(1) False >>> (not(True)) False >>> (0 and not(1 and 0)) 0 >>> 5 > 3 & 3 < 5 True >>> 5 > 3 | 3 < 2 False """