def select_option(lb, ub):
    """Returns the selected integer type option between lb and ub. Otherwise shows an error message.

            Parameters:
                lb (lower bound): Lower limit of the integer type for options.
                ub (upper bound): Upper limit of the integer type for options.
    """
    while True:
        option = input("Insert option: ")
        if option.isnumeric() and (int(option) in range(lb, ub + 1)):
            break
        else:
            print("You put invalid option, insert number between {} and {}".format(lb, ub))

    return int(option)