def METHOD_NAME(prompt_name: str) -> int:
    """Prompt to choose a member of the enum.
    Args:
        output_func: Function to output text to user.
        get_user_input: Function to get user input.
        enum_type: an enum type
    Returns:
        The choice.
    """
    try:
        return int(input(f"{prompt_name}: "))
    except (ValueError, IndexError) as e:
        raise InvalidInput(e)