import random


def random_whole(*, lower=1, upper=100):
    """Return a random whole number (nonzero integer)."""
    if lower < 1:
        raise ValueError(f"Numbers < 1 are not whole numbers")
    return random.randint(lower, upper)