code: def print_err(*args, **kwargs):
      
      sys.stderr.write(" ".join(str(arg) for arg in args) + "\n")
      if kwargs.get("flush", False):
          sys.stderr.flush()
docs: print_err(*args, flush=False)
      Same as *print*, but outputs to stderr. If *flush* is *True*, stderr is flushed after printing.