Commit a5766b31 by BellCodeEditor

save project

parent da808c4c
Showing with 20 additions and 0 deletions
q=["w",11,"e",22,"r",33,"t",44]
print(q[1:3])
print(q[2:0:-1])
while 1:
s=input(1)
if s=="333":
a=input("1")
b=int(input(2))
for i in range(1,len(q),2):
if b<q[i]:
q.insert(i-1,a)
q.insert(i,b)
break
print(q)
else:
break
print(q)
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