Commit 1a926d9d by BellCodeEditor

save project

parent 6928dc56
Showing with 1 additions and 1 deletions
...@@ -8,5 +8,5 @@ for i in range(len(hero)): ...@@ -8,5 +8,5 @@ for i in range(len(hero)):
if i%2==1 and power>=hero[i]: if i%2==1 and power>=hero[i]:
hero.insert(i-1,name) hero.insert(i-1,name)
hero.inster(i,power) hero.inster(i,power)
break break
print(hero) 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