Commit 7047871b by BellCodeEditor

save project

parent a54d20d1
Showing with 9 additions and 2 deletions
......@@ -11,6 +11,12 @@ def func():
else:
total.append(unit)
print('已保存。')
print(total)
return total
func()
def sum(money):
count=0
for i in money:
count=count+i
return count
a=func()
b=sum(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