Python 数字 2017-04-03 本文已影响5人 thanksdanny Screen Shot 2017-04-03 at 15.48.32.png 14 10 14 math.squrt() 、pow(X, 2)、 X ** 2 6.0 math.trunc()、 //、 math.floor() float() 内置 oct()、hex()、bin() int(S, base) S 为进制数