import math. math.ceil(x) 就是取大于等于x最邻近的整数, **math.floor(x)**类似,但是是向下取整. import numpy as np a=2.1 import math ...
確定! 回上一頁