Commit 5db3573c by BellCodeEditor

save project

parent 55de56d8
Showing with 9 additions and 5 deletions
a=["1"] a=["a"]
b=["1","2","3","4","5"] c=3
a.append(b[1:4]) b=["1",1,"2",2,"3",4,"4",5,"5",6]
print(a) for i in range(len(b)):
\ No newline at end of file if i%2==1 and b[i]>=c:
b.insert(i-1,a)
b.insert(i,c)
print(b)
\ No newline at end of file
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