Commit 7bc06baa by BellCodeEditor

save project

parent 7014ca35
Showing with 4 additions and 3 deletions
name="老六" name="老六"
qwert=66 qwert=66
zxcv=["丁一",0,"赵二",1,"张三",10,"李四",90,"王五",99999999999999999999999999] zxcv=["丁一",0,"赵二",1,"张三",10,"李四",90,"王五",999699999999999999999999999]
for i in range(len(zxcv)): for i in range(len(zxcv)):
if i%2==1 and zxcv[i]>=qwert: if i%2==1 and zxcv[i]>=qwert:
zxcv.insert(i-1,name) zxcv.insert(i-1,name)
zxcv.insert(i,qwert) zxcv.insert(i,qwert)
break break
print(zxcv) asdfg=zxcv[6:12]
\ No newline at end of file print(asdfg)
\ 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