开根 b=10#例1import matha=math.sqrt(b)print(a)#例2print(b**0.5)结果:#取整c=1.564#intprint(int( c ))#floorimport mathprint(math.floor( c ) ...
確定! 回上一頁