Commit 227e860c by BellCodeEditor

save project

parent be2606ab
Showing with 11 additions and 3 deletions
......@@ -11,5 +11,13 @@ def i():
print("请输入数字~~~~")
else:
total.append(unit)
print(total)
i()
\ No newline at end of file
return total
def o(money):
c=0
for i in money:
c=c+i
return c
ABC=i()
r=o(ABC)
print(r)
\ 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