def _format_comments(comments):
 ret = '. '.join(comments)
 if (len(comments) > 1):
  ret += '.'
 return ret

def _format_comments ( comments ) : ret = '. ' . join ( comments ) if ( len ( comments ) > 1 ) : ret += '.' return ret
return a joined list .