old_contents: from event import event
  
  class ship:
      def __init__(self, name, com, water, oxygen):
          self.name = name
          self.com_system_health = 100.0
          self.water_system_health = 100.0
          self.oxygen_garden_health = 100.0
          
      def apply_event(self, event):
          self.com_system_health = self.com_system_health + event.com_system_health_change
          self.water_system_health = self.water_system_health + event.water_system_health_change
          self.oxygen_garden_health = self.oxygen_garden_health + event.oxygen_garden_health_change
          
      def print_status(self):
          print self.name + " Water System: " + repr(self.water_system_health) + " Communications System: " + repr(self.com_system_health)
new_contents: from event import event
  
  class ship:
      def __init__(self, name, com, water, oxygen):
          self.name = name
          self.com_system_health = 100.0
          self.water_system_health = 100.0
          self.oxygen_garden_health = 100.0
          
      def apply_event(self, event):
          self.com_system_health = self.com_system_health + event.com_system_health_change
          self.water_system_health = self.water_system_health + event.water_system_health_change
          self.oxygen_garden_health = self.oxygen_garden_health + event.oxygen_garden_health_change
          
      def __repr__(self):
          return self.name + \
              ":\n\t Water System: " + repr(self.water_system_health) +  \
              "\n\t Oxygen Garden: " + repr(self.oxygen_garden_health) +  \
              "\n\t Communications System: " + repr(self.com_system_health)
subject: Refactor ship repr method