Commit d1392396 by BellCodeEditor

save project

parent de1cccdc
Showing with 9 additions and 2 deletions
...@@ -14,6 +14,13 @@ def new_input(): ...@@ -14,6 +14,13 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
result = new_input()
print(result)
def sum(m):
s=0
for i in m:
s=i+s
return s
price=new_input()
pay=sum(price)
print(str(pay))
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