Commit 532584c4 by BellCodeEditor

auto save

parent 4a97326a
Showing with 12 additions and 0 deletions
hero=["5b",39,"2b",50,"sb",54]
name="6b"
power=50
for i in range(len(hero)):
if i%2==1 and hero[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
break
print(hero[len(hero)-6:])
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