Commit 9ac6c278 by BellCodeEditor

auto save

parent c1a28dcf
Showing with 10 additions and 3 deletions
a=['卢布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
b[2:5]
name='李四'
power=66
hero=['赵一',30,'丁二',37,'张三',52,'李四',66,'王五',89,'周六',98]
for i for range(len(hero)):
if i%2==1 and hero[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
break
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