Commit 970c83bc by BellCodeEditor

save project

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