import calendar cal = calendar.month(2022, 4) print(cal)