Python中表示乘方的方式: 1、两个乘号(**) c = 2**3 print(c) 输出结果: 2、用pow函数表示乘方 pow(a,b)表示a的b次幂 c = pow(2,3) print(c) 输出结果: