Commit d8b74301 by BellCodeEditor

save project

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