Python数据类型number之浮点型(float) 2021-03-18 本文已影响0人 哆啦A梦_ca52 print(12.1) print(float(12.1)) print(float('12')) print(type(12)) print(type(12.2))