def ask_for(question: str, answers: list):
    """ Given a question and a list of answers it will return the answer. If the list of answers has only 2 elements then
        if the answer is equal to the first element it will return True and False otherwise
    """
    answer = str(input(question + ' ' + str(answers) + ': ')).lower()
    while answer not in answers:
        print("Don't understand that input")
        answer = str(input(question + ' ' + str(answers))).lower()
    return answer if len(answers) > 2 else answers[0] == answer
