第11424题 单选
Python中对浮点数7.8向下取整得到7,横线处应填入的代码是?
import math
weight = 7.8
floor_weight = ________
print(floor_weight)
A

math.ceil(weight)

B

math.upper(weight)

C

math.down(weight)

D

math.floor(weight)

提交0次 正确率0.00%
答案解析