Commit 84575e21 by BellCodeEditor

save project

parent 87929280
Showing with 9 additions and 9 deletions
a=0
def q(): def q():
t=[] t=[]
while True: while True:
a=input("qing shu ru") a=input("qing shu ru")
...@@ -21,5 +14,12 @@ def q(): ...@@ -21,5 +14,12 @@ def q():
print("hao de") print("hao de")
t.append(a) t.append(a)
return t return t
def h(money):
co=0
for i in money:
co=co+i
return co
r=q() r=q()
print(r) ccc=h(r)
print(ccc)
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