Python 数字

2017-04-03  本文已影响5人  thanksdanny
Screen Shot 2017-04-03 at 15.48.32.png
  1. 14
  2. 10
  3. 14
  4. math.squrt() 、pow(X, 2)、 X ** 2
  5. 6.0
  6. math.trunc()、 //、 math.floor()
  7. float()
  8. 内置 oct()、hex()、bin()
  9. int(S, base) S 为进制数
上一篇 下一篇

猜你喜欢

热点阅读