Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Help Sarven Shepherd Python Error "Hard execution limit of 3000000 exceeded"

#1
while True:
     enemies = hero.findEnemies()
     enemyIndex = 0

#2

ignore this post hit wrong button

#3
enemyIndex = 0
while True:
    enemies = hero.findEnemies()
    enemyIndex += 1