def find_choice_index(choice, choices):
    """
    Finds the index of an item in a choice list.
    """
    for choice_tuple in choices:
        if choice == choice_tuple[1]:
            return choice_tuple[0] - 1