Question: In Python 3 In this program, the user is supposed to enter a date in YYYY-MM-DD format. You are required to create a function named
In Python 3
In this program, the user is supposed to enter a date in YYYY-MM-DD format. You are required to create a function named isValidDate() with parameters being the year,month and day extracted from the user input. This function uses assertions to check that the year and the month are correct.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
