import random


def random_int(from_: int = 0, to: int = 10) -> int:
    """Generate random int within range from_, to

    Arguments:
        from_ {int} -- lower limit, default 0
        to {int} -- upper limit

    Returns:
        int -- random number
    """
    return random.randint(from_, to)