Python【基础】逻辑运算符 Python • 2021-12-23• 586次阅读 ''' and 相当于逻辑符号AND or == OR not == NOT'''x = (10 > 8) and (20 > 10)print(x) # True 人生活在得失之间,得亦是失,失亦是得。