def askQuestionList(prompt, choices):
    """Ask a question with multiple choices, return the choice."""
    while True:
        answer = input("%s [%s] " % (prompt, '/'.join(choices)))
        if answer.lower() in choices:
            return answer.lower()
        else:
            print("Invalid choices. Please select one of the choices: " + ', '.join(choices))