Commit 227e860c by BellCodeEditor

save project

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