Commit d8b74301 by BellCodeEditor

save project

parent bef0c6f6
Showing with 9 additions and 5 deletions
...@@ -14,8 +14,12 @@ def new_input(): ...@@ -14,8 +14,12 @@ def new_input():
return total return total
k=0
a = new_input() a = new_input()
for i in range(len(a)): def money(x):
k = k + a[i] k=0
print(k) for i in range(len(x)):
\ No newline at end of file k = k + x[i]
return k
b = money(a)
print(b)
\ 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