Commit 8bd559c0 by BellCodeEditor

save project

parent b8eb1ea2
Showing with 7 additions and 3 deletions
......@@ -13,8 +13,12 @@ def new_input():
total.append(money)
finally:
print("-"*30)
return total
count=0
for i in total:
count=i+count
count=str(count)
return count
result = new_input()
print(result)
\ No newline at end of file
print("最终的价格为"+result+"元")
\ 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