Commit c9c18320 by BellCodeEditor

save project

parent 7119e0f4
Showing with 7 additions and 2 deletions
...@@ -13,8 +13,13 @@ def new_input(): ...@@ -13,8 +13,13 @@ def new_input():
total.append(money) total.append(money)
print("-"*30) print("-"*30)
return total return total
result = new_input() def sum(money) :
print(result) count = 0
for i in money :
count = count + 1
return count
price = new_input()
pay = sum(price)
......
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