from tools import detect_answer_type print(detect_answer_type("How many studio albums did Mercedes Sosa release between 2000 and 2009?")) # → number print(detect_answer_type("What are the colors in the French flag?")) # → list print(detect_answer_type("When did World War II end?")) # → date print(detect_answer_type("il y a 4 livres")) # → date