0 out of 464 challenges solved
Write a function `is_30_day_month(month_number)` that checks whether the given month number corresponds to a month with 30 days. The months are represented as numbers from 1 (January) to 12 (December). The months with 30 days are April (4), June (6), September (9), and November (11). #### Example Usage ```python [main.nopy] is_30_day_month(4) # Returns: True is_30_day_month(2) # Returns: False is_30_day_month(12) # Returns: False ```
def is_30_day_month(month_number): """ Determine if the given month number corresponds to a month with 30 days. Args: month_number (int): The month number (1 for January, 12 for December). Returns: bool: True if the month has 30 days, False otherwise. """ # Implement the logic to check if the month has 30 days pass