def ask(question: str) -> bool:
    """
    ask to user the question until given an answer then return the answer
    :param question: the question to ask the user
    :return: the users answer
    """
    while True:
        answer: str = input("Do you want to " + question + "? [Y/n]")
        # check if one viable answers
        if answer.lower() == "y"\
                or answer == ""\
                or answer.lower() == "n":
            # return True if y or empty or False if n
            return answer.lower() == "y" or answer == ""