code: def PrintTree(self, depth=''):
      
      result = '{0:s}{1:s}\n'.format(depth, self.operator)
      for part in self.args:
        result += '{0:s}-{1:s}\n'.format(depth, part.PrintTree(depth + '  '))
  
      return result
docs: Print the tree.