code: def combine_comments(comments):
      '''
      Given a list of comments, or a comment submitted as a string, return a
      single line of text containing all of the comments.
      '''
      if isinstance(comments, list):
          for idx in range(len(comments)):
              if not isinstance(comments[idx], six.string_types):
                  comments[idx] = six.text_type(comments[idx])
      else:
          if not isinstance(comments, six.string_types):
              comments = [six.text_type(comments)]
          else:
              comments = [comments]
      return ' '.join(comments).strip(f combine_comments(comments):
      '''
      Given a list of comments, or a comment submitted as a string, return a
      single line of text containing all of the comments.
      '''
      if isinstance(comments, list):
          for idx in range(len(comments)):
              if not isinstance(comments[idx], six.string_types):
                  comments[idx] = six.text_type(comments[idx])
      else:
          if not isinstance(comments, six.string_types):
              comments = [six.text_type(comments)]
          else:
              comments = [comments]
      return ' '.join(comments).strip()
docs: Given a list of comments, or a comment submitted as a string, return a
      single line of text containing all of the comments.