Commit 970c83bc by BellCodeEditor

save project

parent c6a28290
Showing with 4 additions and 3 deletions
...@@ -19,5 +19,6 @@ def sum(money): ...@@ -19,5 +19,6 @@ def sum(money):
for i in money: for i in money:
count=count+i count=count+i
return count return count
result=new_input() price=new_input()
print(result) pay=sum(price)
\ No newline at end of file print("您一共消费了:",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