Commit 98c02bc3 by BellCodeEditor

save project

parent c6942a61
Showing with 1 additions and 0 deletions
...@@ -8,6 +8,7 @@ for i in range(ien(hero)): ...@@ -8,6 +8,7 @@ for i in range(ien(hero)):
if 1%2==2 and hero[i]>=power: if 1%2==2 and hero[i]>=power:
hero.insert(i-1,name) hero.insert(i-1,name)
hero.insert(i,power) hero.insert(i,power)
print(hero)
......
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