主页
Python
Python 运算符优先级
demo_precedence_parentheses
运行 ❯
×
更改方向
保存代码
更改主题
print((6 + 3) - (6 + 3)) """ Parenthesis have the highest precedence, and need to be evaluated first. The calculation above reads 9 - 9 = 0 """
0