主页
Python
Python 运算符优先级
demo_precedence_multiplication
运行 ❯
×
更改方向
保存代码
更改主题
print(100 + 5 * 3) """ Multiplication has higher precedence than addition, and needs to be evaluated first. The calculation above reads 100 + 15 = 115 """
115