<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def info_progress(prefix: str, value: float, max_value: float) -> None: """ Display info progress in percent. :param value: the current value :param max_value: the max value :param prefix: the prefix message to print """

    if sys.stdout.isatty():
        percent = float(value) / max_value * 100
        sys.stdout.write(prefix + ": %.0f%%\r" % percent)
        sys.stdout.flush()