Hi. I can’t figure out what the problem in my python code is. Please help. My code is:
Peons are trying to steal your coins!
Write a function to squash them before they can take your coins.
enemy = hero.findNearestEnemy()
coin = hero.findNearestItem()
Write the attackEnemy function below.
Find the nearest enemy and attack them if they exist!
#attackEnemy() # ∆ Uncomment this line after you write an attackEnemy function.