parameters: (self, amount)
docstring: Reduce armor by AMOUNT, and remove the insect from its place if it
          has no armor remaining.
  
          >>> test_insect = Insect(5)
          >>> test_insect.reduce_armor(2)
          >>> test_insect.armor
          3
docstring_summary: Reduce armor by AMOUNT, and remove the insect from its place if it
          has no armor remaining.
docstring_tokens: Reduce armor by AMOUNT and remove the insect from its place if it has no armor remaining .
function: def reduce_armor(self, amount):
          """Reduce armor by AMOUNT, and remove the insect from its place if it
          has no armor remaining.
  
          >>> test_insect = Insect(5)
          >>> test_insect.reduce_armor(2)
          >>> test_insect.armor
          3
          """
          self.armor -= amount
          if self.armor <= 0:
              self.place.remove_insect(self)
function_tokens: def reduce_armor ( self , amount ) : self . armor -= amount if self . armor <= 0 : self . place . remove_insect ( self )