Commit c11abe5c by BellCodeEditor

save project

parent 73b38cab
Showing with 7 additions and 0 deletions
#价格累计
def new_inport(): def new_inport():
total = [] total = []
while True: while True:
...@@ -12,5 +13,10 @@ def new_inport(): ...@@ -12,5 +13,10 @@ def new_inport():
else: else:
total.append(unit) total.append(unit)
return total return total
#累加价格
def sum(money):
count=0
for i in money
result=new_inport() result=new_inport()
print(result) print(result)
\ 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