Try to wrap it into While True loop.
that works thank you
I don’t think it matters I passed the level with the the correct code already without warping it inside.
Don’t mention it. And Congratulations

No problem! I’m glad I could help! Here is a tip to all levels: read all hints and what it says like " # Wrap this section in a while loop to iterate all enemies"
@PeterPalov another reason this doesn’t work because you can’t find this part while enemyIndex < len(enemies): if the code you suggested is inside the while loop. Thus you have to put it outside and before the loop for it to run properly.
Ok, but it was in hints. But what do you want? @avery_witte solved it.
I know @avery_witte solved it, but I’m just correcting you so you don’t make the mistakes.
I’m actually a he not a she
My Sincere Apologies. 
that’s ok I get that sometimes