python中多个数进行幂运算的顺序

2020-12-14 23:04发布

问题:

python中多个数进行幂运算的顺序为什么是从右到左,好奇怪

回答1:

参考 Why is exponentiation applied right to left?

This is pretty universal across programming languages; it is called right-associativity,



标签: python