Commit 81641746 by BellCodeEditor

save project

parent 1bc36a17
Showing with 9 additions and 6 deletions
......@@ -13,15 +13,18 @@ def func():
total.append(unit)
finally:
print("-"*30)
return total
price = func()
count=0
for i in price:
def sum(s_b):
count=0
for i in s_b:
count=count+i
print(count)
return count
sum(func())
s=sum(price)
print(s)
......
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