主页
Python
Python 运算符
demo_oper_logical2
运行 ❯
×
更改方向
保存代码
更改主题
x = 5 print(x > 3 or x < 4) # returns True because one of the conditions are true (5 is greater than 3, but 5 is not less than 4)
True