Commit 3ed378d6 by BellCodeEditor

save project

parent 67d27090
Showing with 13 additions and 3 deletions
......@@ -12,6 +12,16 @@ def new_input():
else:
total.append(unit)
print("-"*30)
print(total)
return total
new_input()
\ No newline at end of file
def sum(money):
ooo = 0
for i in money:
ooo = ooo + i
return ooo
_4 = new_input()
print(_4)
ppp = sum(_4)
print(ppp)
\ 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