Python【基础】逻辑运算符 Python • 2021-12-23• 536次阅读 ''' and 相当于逻辑符号AND or == OR not == NOT'''x = (10 > 8) and (20 > 10)print(x) # True 热爱可抵岁月漫长, 温柔可挡艰难时光。