Python【基础】逻辑运算符 Python • 2021-12-23• 515次阅读 ''' and 相当于逻辑符号AND or == OR not == NOT'''x = (10 > 8) and (20 > 10)print(x) # True 学会在学习中寻找乐趣,学会乐在其中并保持热情