      def __init__(self):
          self.results = []
  
      def add_result(self, result):
          self.results.append(result)
  
      def clear_results(self):
          self.results = []
  
      def __str__(self):
 
</s>
        # TODO: Clean this up
        # Simplifies challenge coding and unit testing
        # but makes this function look less appealing
        self.results.append(int(str(result)))
      def __init__(self):
          self.results = []
  
      def add_result(self, result):
        # TODO: Clean this up
        # Simplifies challenge coding and unit testing
        # but makes this function look less appealing
        self.results.append(int(str(result)))
  
      def clear_results(self):
          self.results = []
  
      def __str__(self):
keep keep keep keep replace keep keep keep keep keep
 Simplified challenge coding and unit tests by working with the node directly as opposed to node.id or node.data, which is more natural when writing coding challenges.
graphs_trees/utils/results.py