Commit dba5a1eb by BellCodeEditor

save project

parent 7b842127
Showing with 10 additions and 6 deletions
w=[] def j():
while True: w=[]
while True:
u=input('') u=input('')
if u =='q': if u =='q':
break break
...@@ -10,6 +11,10 @@ while True: ...@@ -10,6 +11,10 @@ while True:
print('ss') print('ss')
else: else:
w.append(u) w.append(u)
print(w) return w
a=j()
print(a)
\ No newline at end of file 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