Commit 91b3ea1e by BellCodeEditor

save project

parent d69fb634
Showing with 3 additions and 1 deletions
...@@ -16,6 +16,7 @@ def sum(money): ...@@ -16,6 +16,7 @@ def sum(money):
count=0 count=0
for i in money: for i in money:
count=count+i count=count+i
return count return count
price=a()
pay=sum(price) pay=sum(price)
print('您一共消费'+str(pay)) 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