def __str__(self):
        try:
            fail_percent = (float(self.num_requests + self.num_failures)/self.num_failures)*100
        except ZeroDivisionError:
            fail_percent = 0
        
        return (" %-" + str(STATS_NAME_WIDTH) + "s %7d %12s %7d %7d %7d  | %7d %7.2f") % (
            self.method + " " + self.name,
            self.num_requests,
            "%d(%.2f%%)" % (self.num_failures, fail_percent),
            self.avg_response_time,
            self.min_response_time or 0,
            self.max_response_time,
            self.median_response_time or 0,
            self.current_rps or 0
        )
dataset/ETHPy150Open locustio/locust/locust/stats.py/StatsEntry.__str__/swapped operands of `/`