Commit 25d3e736 by BellCodeEditor

auto save

parent 97ea45cf
Showing with 3 additions and 1 deletions
type(1)1
\ No newline at end of file
...@@ -13,7 +13,7 @@ for i in range(len(hero)): ...@@ -13,7 +13,7 @@ for i in range(len(hero)):
hero.insert(i-1,name) hero.insert(i-1,name)
hero.insert(i,power) hero.insert(i,power)
break break
elif i%2==1 and hero[len(hero)-1]<=power: elif i%2==1 and hero[len(hero)-1]<power:
hero.append(name) hero.append(name)
hero.append(power) hero.append(power)
break 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