[SOLVED] Clash of Clones - Is it possible to win?

The clone’s type will be the same as your heroes, so do self.say(self.type) to find out what that is.

Oh, and did you know there’s a simpler way to loop through an array in Python?

loop:
    enemies = self.findEnemies()

    for currentTarget in enemies:
        if currentTarget.type != "sand-yak":
            #do stuff

Don’t have to worry about indexes this way.

3 Likes