Commit da3c9c93 by BellCodeEditor

save project

parent a9fe3507
Showing with 3 additions and 4 deletions
...@@ -9,8 +9,6 @@ for i in range(len(hero)): ...@@ -9,8 +9,6 @@ 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
else: hero.insert(len(hero)-1,name)
hero.insert(len(hero),name) hero.insert(len(hero),power)
hero.insert(len(hero),power)
break
print(hero) print(hero)
\ No newline at end of file
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