运行 ❯
获取您自己的
Python
服务器
×
更改方向
更改主题,深色/浅色
转到 Spaces
print(1 or 2 and 3) """ The and operator has a higher precedence than or, and we need to calculate the and expression first. The calculation above reads: 1 or 3 = 1 """
1