单选题
适中
#5231
下列代码运行后的结果是?( ) import math a = math . floor ( 10.2 ) print ( a ) Copy
下列代码运行后的结果是?( )
答案与解析
正确答案:D
解析
python中math库应用。 math.floor是向下取整函数