code: def ratio_and_percentage_with_time_remaining(current, total, time_remaining):
      
      return "{} / {} ({}% completed) (~{} remaining)".format(
        current,
        total,
        int(current / total * 100),
        time_remaining)
docs: Returns the progress ratio, percentage and time remaining.