code: def info_progress(prefix: str, value: float, max_value: float) -> None:
      
      if sys.stdout.isatty():
          percent = float(value) / max_value * 100
          sys.stdout.write(prefix + ": %.0f%%\r" % percent)
          sys.stdout.flush()
docs: Display info progress in percent.
  
      :param value: the current value
      :param max_value: the max value
      :param prefix: the prefix message to print