Commit 4e21133d by BellCodeEditor

save project

parent f212490e
Showing with 12 additions and 0 deletions
a='a'
b=78
a=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98,'张宇',100]
for i in range(1,len(hero),2):
if hero[i]>b:
hero.insert(i-1,b)
hero.insert(i-1,a)
break
print(hero)
print(hero[-6:])
\ 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