code: def marquee(txt="", width=78, mark="*"):
      """Return the input string centered in a 'marquee'.
  
      Examples
      --------
      ::
  
          In [16]: marquee('A test',40)
          Out[16]: '**************** A test ****************'
  
          In [17]: marquee('A test',40,'-')
          Out[17]: '---------------- A test ----------------'
  
          In [18]: marquee('A test',40,' ')
          Out[18]: '                 A test                 '
  
      """
      if not txt:
          return (mark * width)[:width]
      nmark = (width - len(txt) - 2) // len(mark) // 2
      if nmark < 0:
          nmark = 0
      marks = mark * nmark
      return "%s %s %s" % (marks, txt, marks)
  
imports: import os
  import re
  import string
  import sys
  import textwrap
  import warnings
  from string import Formatter
  from pathlib import Path
  from typing import List, Union, Optional, Dict, Tuple
label_desc: Use image node_id 3 for calling a global function with example usage: marquee(txt, width, mark) and returns: unknown, unknown