主页
Python
Python 运算符优先级
demo_precedence_exponent
运行 ❯
×
更改方向
保存代码
更改主题
print(100 - 3 ** 3) """ Exponentiation has higher precedence than subtraction, and needs to be evaluated first. The calculation above reads 100 - 27 = 73 """
73