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.
Please respond in Python code, thx! Write a function is_valid_day_in_month(month, day, year), where month, day, and year
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am