Commit c931a69e by BellCodeEditor

auto save

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