def answerMenu(prompt, numOptions):
    """
    returns the response to a prompt that expects the user to choose a number
    between 1 and numOptions (reprompts until user provides a valid response).
    params:
        prompt (string): prompt to show user before awaiting input
        numOptions (int): number of options user is being asked to choose from
    return (int): number
    """
    val = ""
    while val not in range(1, numOptions+1):
        try:
            val = int(input(prompt))
        except ValueError:
            continue
    return val