Commit 243b26af by BellCodeEditor

save project

parent fb43caf2
Showing with 1188 additions and 2 deletions
......@@ -421,6 +421,1184 @@
def dddd():
total = []
while True:
......@@ -436,4 +1614,13 @@ def dddd():
total.append(unit)
print("-"*30)
print(total)
dddd()
\ No newline at end of file
dddd()
def sum(money):
count=0
for i in money:
count=count+i
return count
a=dddd()
m=sum(a)
print("您一共花了"+str(m)+"元")
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