Commit c931a69e by BellCodeEditor

auto save

parent 66ed83ad
Showing with 6 additions and 9 deletions
...@@ -2,7 +2,7 @@ def kk(): ...@@ -2,7 +2,7 @@ def kk():
t=[] t=[]
while True: while True:
u=input('') u=input('')
if u =='q': if u =='q'
break break
try: try:
u=int(u) u=int(u)
...@@ -11,11 +11,6 @@ def kk(): ...@@ -11,11 +11,6 @@ def kk():
else: else:
t.append(u) t.append(u)
return t return t
def sum(a): w=kk()
qh=0
for i in a: print(w)
qh=qh+i \ No newline at end of file
return qh
b=kk()
p=sum(b)
print(p)
++ "b/\345\225\212\343\200\202"
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