Commit ebe0fb4b by BellCodeEditor

save project

parent c8c53345
...@@ -11,13 +11,6 @@ def now_input(): ...@@ -11,13 +11,6 @@ def now_input():
print("重输") print("重输")
else: else:
total.append(unit) total.append(unit)
print("_"*30) #print("——"*30)
return total #print(total)
#now_input()
def sum(money): \ No newline at end of file
count = 0
for i in money:
count = count +i
price=now_input()
pay = sum(price)
print("用了"+str(pay)+"元")
\ 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