Convert Date
Funkcja ta powinna pobierać ciąg daty w formacie dd/mm/yyyy i konwertować go do formatu yyyy-mm-dd. Jeśli dane wejściowe nie są w poprawnym formacie, funkcja powinna zwrócić komunikat o błędzie "Error: Invalid date.".
Wejście: String (str).
Wyjście: String (str).
Przykłady:
assert convert_date("25/12/2021") == "2021-12-25"
assert...You should be an authorized user in order to see the full description and start solving this mission.