Commit 333bc430 by BellCodeEditor

save project

parent 6b1fd620
Showing with 1 additions and 2 deletions
......@@ -8,14 +8,13 @@ def a():
total.append(unit)
print(total)
return(totle)
a()
def sum(money):
count=0
for i in money:
count=count+i
return count
a=[45,55,65,75,85,95,105,115,125]
print(sum(a))
print(sum(a))
price=a()
pay=sum(price)
print("您一共消费"+"str(pay)+'元'")
......
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