Commit b30d7b3c by BellCodeEditor

save project

parent 443ea260
Showing with 4 additions and 0 deletions
...@@ -19,6 +19,10 @@ def sum(money): ...@@ -19,6 +19,10 @@ def sum(money):
count = 0 count = 0
for i in money: for i in money:
count=count+i count=count+i
return count
price=new_input()
pay=sum(price)
print(''+str(pay)+'元')
new_input( ) new_input( )
result = new_input() result = new_input()
print(result) print(result)
......
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