# Antipodes: Help!

**URL:** <https://discourse.codecombat.com/t/antipodes-help/11759>\
**Category:** Uncategorized\
**Created:** [June 19, 2017, 6:59pm UTC](https://discourse.codecombat.com/t/antipodes-help/11759 "2017-06-19T18:59:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alba\_Fernandez\_Serna](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Alba\_Fernandez\_Serna](https://discourse.codecombat.com/u/Alba_Fernandez_Serna)\
**Post date:** [June 19, 2017, 6:59pm UTC](https://discourse.codecombat.com/t/antipodes-help/11759/1 "2017-06-19T18:59:33Z")

</div>

Hello, I am a student and I have a problem with my code. My harchers move has kill the clones but my hero didn’t move.

def areAntipodes(unit1, unit2):  
reversed1 = ""  
for i in range(len([unit1.id](http://unit1.id)) - 1, -1, -1):  
reversed1 += [unit1.id](http://unit1.id)[i]  
return reversed1 == [unit2.id](http://unit2.id)

friends = hero.findFriends()  
enemies = hero.findEnemies()

for friend in friends:  
for enemy in enemies:  
if areAntipodes(friend, enemy):  
hero.command(friend, ‘move’, enemy.pos)

enemies = hero.findEnemies()  
while len(enemies) == 1:  
hero.attack(hero.findNearest(hero.findEnemies()))

Can you help me?

---

<div class="post-metadata">

**Author:** ![Mr-Borges](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/mr-borges/32/6499_2.png) [@Mr-Borges](https://discourse.codecombat.com/u/Mr-Borges)\
**Post date:** [June 28, 2017, 2:27pm UTC](https://discourse.codecombat.com/t/antipodes-help/11759/2 "2017-06-28T14:27:34Z")

</div>

It takes some time for your troops to walk over. I bet that there is more than one enemy still alive when you check if len(enemies == 1)
