Page 1 of 1

Please respond in Python code, thx! Write a function is_valid_day_in_month(month, day, year), where month, day, and year

Posted: Tue Jul 12, 2022 8:10 am
by answerhappygod
Please respond in Python code,thx!
Write a function is_valid_day_in_month(month, day, year),where month, day, and year and integerparameters. The function returns True if the day numberis valid within the month, and False otherwise. The rulesare:
For example:
You will need at least six test casesto ensure it works correctly.