Commit 2bda651b by BellCodeEditor

save project

parent d26d84b6
Showing with 10 additions and 3 deletions
...@@ -12,5 +12,12 @@ def money(): ...@@ -12,5 +12,12 @@ def money():
else: else:
total.append(unit) total.append(unit)
return total return total
a=money() d=money()
print(a) # print(a)
\ No newline at end of file def num(a):
b=0
for i in a:
b=b+i
return b
c=num(d)
print(c)
\ 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