代码示例:(标识:python_numbers_float_1)
python_numbers_float_1.py
x = 3.50
y = 2.0
z = -63.78

print(type(x))
print(type(y))
print(type(z))
运行结果: