Commit e0acd5b0 by BellCodeEditor

save project

parent 3fa7ff42
Showing with 11 additions and 2 deletions
...@@ -11,5 +11,14 @@ def lbwnb(): ...@@ -11,5 +11,14 @@ def lbwnb():
print("nm") print("nm")
else: else:
total.append(unit) total.append(unit)
return(total)
print(total) print(total)
lbwnb() def sum(qian):
\ No newline at end of file count=0
for i in qian:
count=count+i
return count
result=lbwnb()
pay=sum(result)
print(pay)
\ 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