def show_benchmarks(self, benchmarks: List[Tuple[(str, float)]]) -> None:
    'Format and print the benchmarks.'
    float_format = '{value:<10.3} {statistic}'.format
    int_format = '{value:<10} {statistic}'.format
    for (statistic, value) in benchmarks:
        if isinstance(value, int):
            benchmark = int_format(statistic=statistic, value=value)
        else:
            benchmark = float_format(statistic=statistic, value=value)
        self._write(benchmark)
Format and print the benchmarks.
def show_benchmarks(self, benchmarks: List[Tuple[(str, float)]]) -> None:
    
    float_format = '{value:<10.3} {statistic}'.format
    int_format = '{value:<10} {statistic}'.format
    for (statistic, value) in benchmarks:
        if isinstance(value, int):
            benchmark = int_format(statistic=statistic, value=value)
        else:
            benchmark = float_format(statistic=statistic, value=value)
        self._write(benchmark)