I am typing this into the box above Run:
Remember that enemies may not yet exist.
enemy = self.findNearestEnemy()
# If there is an enemy, attack it!
It isn’t working, and I was wondering what was wrong. It keeps giving me
Fix Your Code:
Line five: Target is null, is there always a target to attack?
Is there anything I can do? I’m running it in Python