📅  最后修改于: 2022-03-11 14:46:23.586000             🧑  作者: Mango
while num != "":
number = float(num)
sum += number
num = input("Enter a number or just hit ENTER to quit: ")
print("The sum is", sum)