Help I dont know what am doing wrong, this is my failed attempted:# BEGIN Problem 7# The
Fantastic news! We've Found the answer you've been seeking!
Question:
Help I dont know what am doing wrong, this is my failed attempted:# BEGIN Problem 7# The HungryAnt Classclass HungryAnt(Ant): name = 'Hungry' food_cost = 4 implemented = True chewing_turns = 3 damage = 0 def __init__(self,health=1): super().__init__(health) self.turns_to_chew = 0 def action(self,gamestate): if self.turns_to_chew == 0: if len(self.place.bees) > 0: target_bee = random_bee(self.place.bee) target_bee.reduce_health(target_bee.health) self.turns_to_chew = self.chewing_turns else: self.turns_to_chew -=1# END Problem 7
Related Book For
Auditing The Art And Science Of Assurance Engagements
ISBN: 9780136692089
15th Canadian Edition
Authors: Alvin A. Arens, Randal J. Elder, Mark S. Beasley, Chris E. Hogan, Joanne C. Jones
Posted Date: