Commit 83ec1884 by BellCodeEditor

save project

parent 5ec95f82
Showing with 25 additions and 0 deletions
n='刘强'
pr=66
h=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
for i in range(len(h)):
if i%2==1 and h[i]>=pr:
h.insert(i-1,n)
h.insert(i,pr)
break
print(h)
\ No newline at end of file
n='刘强'
pr=66
h=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
for i in range(len(h)):
if i%2==1 and h[i]>=pr:
h.insert(i-1,n)
h.insert(i,pr)
break
print(h)
\ No newline at end of file
a=['吕布']
b=['袁术','公孙瓒','关羽','刘备','曹操']
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