Commit 7514f749 by BellCodeEditor

save project

parent 4ab6a69b
Showing with 8 additions and 8 deletions
name='刘强'
a= ['华雄'] power=66
c='颜良' hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98]
b='文丑' for i in range(len(hero)):
a.insert(2,c) if i%2==1 and hero[i]>power
a.insert(3,b) hero.insert(i-1,name)
print(a) hero.insert(i,power)
\ No newline at end of file \ 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