from typing import Iterable


def digit_range(num_digits: int) -> Iterable[int]:
    """ Range over all numbers with a given number of digits """
    minimum = 10 ** (num_digits - 1)
    maximum = 10 ** num_digits
    return range(minimum, maximum)