x**y 表示 x 的 y 次方 pow(b, n) 表示b的n次方 b= 2print pow(b, 2) 转载于:https://www.cnblogs.com/wushujun/p/9199482.html