Commit f54709c3 by BellCodeEditor

save project

parent 93dd63ee
Showing with 4 additions and 3 deletions
...@@ -12,13 +12,14 @@ def sb(): ...@@ -12,13 +12,14 @@ def sb():
print("zhongshu") print("zhongshu")
else: else:
total.append(unit) total.append(unit)
print("-"*30) finally:
print("===================")
print(total) print(total)
sb() return total
def sum(money): def sum(money):
count = 0 count = 0
for i in money: for i in money:
count = count +i count = count+i
return count return count
price=sb() price=sb()
pay = sum(price) pay = sum(price)
......
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