首页 > 编程语言> > python math笔记 python math笔记 2021-11-17 11:30:40 作者:互联网 python math库 import math math.ceil(x):向上取整 >>>print(math.ceil(-7.5)) -7 >>>print(math.ceil(7.5)) 8 标签:python,笔记,ceil,取整,7.5,print,math 来源: https://blog.csdn.net/m0_51104427/article/details/121374148