单选题
适中
#6060
运行代码print(float(20)),输出的结果是以下哪一项?( )
运行代码print(float(20)),输出的结果是以下哪一项?( )
答案与解析
正确答案:B
解析
float()默认保留一位小数,故答案选B。