i hav compleated all of the levels that my teacher has given me to do but the only one i cant beet is bad naborhood could i get some help please?
Can you please provide your code and specify the problem? We know that you are stuck on Bad Neighborhood and want to help, but we can’t figure out why unless we have your code and a detailed description of the issue.
Also remember to format your code according to the FAQ.
enemy = self.findNearestEnemy()
enemy = self.findNearestEnemy() if enemy: self.attack(enemy)