源代码
x = float(1) y = float(2.5) z = float("3") w = float("4.6") print(x) print(y) print(z) print(w)
运行结果