Commit c1e40eb2 by BellCodeEditor

auto save

parent 3b6015ae
Showing with 719 additions and 0 deletions
name='吕不'
power=60
c=['a',10,"刘备",20,"关羽",30,"张飞",40,'b',50,'c',50]
for i in range(len(c)):
if i%2==1 and c[i]>=power:
c.insert(i-1,name)
c.insert(i,power)
break
print(c)
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