print(12.1)
print(float(12.1))
print(float('12'))
print(type(12))
print(type(12.2))
print(12.1)
print(float(12.1))
print(float('12'))
print(type(12))
print(type(12.2))
本文标题:Python数据类型number之浮点型(float)
本文链接:https://www.haomeiwen.com/subject/fhbucltx.html
网友评论