Hi, I talk Spanish but all the people here talk in English, so I’ll talk you my problem in English. I have a trouble with this level, my code is:
coin = hero.findNearestItem()
Write the attackEnemy function below.
Find the nearest enemy and attack them if they exist!
attackEnemy = self.findNearestEnemy() # ∆ Uncomment this line after you write an attackEnemy function.
I don’t know what’s the problem if any have the solution give me this please