Convert Date
Cette fonction doit prendre une chaîne de date au format dd/mm/yyyy et la convertir au format yyyy-mm-dd. Si l'entrée n'est pas au bon format, la fonction doit renvoyer un message d'erreur "Error: Invalid date.".
Entrée: Chaîne (str).
Sortie: Chaîne (str).
Exemples:
assert convert_date("25/12/2021") == "2021-12-25"
assert convert_date("01/01/2000")...You should be an authorized user in order to see the full description and start solving this mission.