docs: def marquee(text="", width=78, mark='*'):
      """
      Return the input string centered in a 'marquee'.
  
      Args:
          text (str): Input string
          width (int): Width of final output string.
          mark (str): Character used to fill string.
  
      :Examples:
  
      >>> marquee('A test', width=40)
      '**************** A test ****************'
  
      >>> marquee('A test', width=40, mark='-')
      '---------------- A test ----------------'
  
      marquee('A test',40, ' ')
      '                 A test                 '
      """
      if not text:
          return (mark*width)[:width]
  
      nmark = (width-len(text)-2)//len(mark)//2
      if nmark < 0: 
          nmark = 0
  
      marks = mark * nmark
      return '%s %s %s' % (marks, text, marks)