def choice_input(question: str, options: list[str]) -> str:
    """For situations where you want to provide a list of options for the user to choose from."""
    print(question)
    options_dict = {i+1: option for i, option in enumerate(options)}
    print("\n".join(f"[{key}] {option}" for key, option in options_dict.items()))
    user_choice = int(input())
    return options_dict[user_choice]