📜  浮动错误python代码示例

📅  最后修改于: 2022-03-11 14:46:46.006000             🧑  作者: Mango

代码示例1
#Make sure that you have used a float instead of an integer.
print("Type a decimal number here:")
Number = float(input())
print(Number)
#The above code asks the user to input a decimal then spits out the exact same decimal.