from typing import Dict


def optionPicker(prompt: str, choices: Dict[str, str]) -> str:
    """Allow the user to select an option from a list of choices.
    
    Parameters
    ----------
    prompt: str
        A prompt of what the user is being asked to select.
    choices: Dict[str, str]
        A dictionary where the key is a single lowercase character, and its
        value is the option that will be selected.

    Returns
    -------
    str
        A lowercase string entered by the user.
    """
    print(f"{prompt}\n")
    for option in choices:
        print(f"({option}) {choices[option]}")
    print("(*) Cancel\n")
    return input().lower()