diff --git a/diy.py b/diy.py index 8c4eec1..e5e4ba0 100644 --- a/diy.py +++ b/diy.py @@ -8,4 +8,5 @@ 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) \ No newline at end of file