Question: Complete the function below . The function accepts a string as in input and returns a Boolean indicating whether or not that string is of

Complete the function below . The function accepts a string as in input and returns a Boolean indicating whether or not that string is of the format Sample input and result: is_date_format_correct('2022/01/01') False is_date_format_correct('1999-01-01') True False NB: Do not remove any of the original code. Only add to it def is_date_format_correct(date:str) > bool: "" This function takes in a date in string format and returns true if the date matches the format YYYY-MM-DD and false if it doesn't "" \#your code here\#
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
