math
import math #多用帮助
关注正负数:
math.ceil()
math.floor()
math.floor(-0.5) math.floor(2.2)
a//b
int()
roud()
进制函数
bin(10) oct(10) hex(10)
'0b1010' '0o12' '0xa'
import math #多用帮助
关注正负数:
math.ceil()
math.floor()
math.floor(-0.5) math.floor(2.2)
a//b
int()
roud()
bin(10) oct(10) hex(10)
'0b1010' '0o12' '0xa'
相关推荐