Commit ebe0fb4b by BellCodeEditor

save project

parent c8c53345
......@@ -11,13 +11,6 @@ def now_input():
print("重输")
else:
total.append(unit)
print("_"*30)
return total
def sum(money):
count = 0
for i in money:
count = count +i
price=now_input()
pay = sum(price)
print("用了"+str(pay)+"元")
\ No newline at end of file
#print("——"*30)
#print(total)
#now_input()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment