Commit dba5a1eb by BellCodeEditor

save project

parent 7b842127
Showing with 19 additions and 15 deletions
w=[] def j():
while True: w=[]
u=input('') while True:
if u =='q': u=input('')
break if u =='q':
else: break
try:
u=int(u)
except:
print('ss')
else: else:
w.append(u) try:
print(w) u=int(u)
except:
print('ss')
\ No newline at end of file else:
w.append(u)
return w
a=j()
print(a)
y=0
for u in a:
y+=u
print(y)
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