import calendar cal = calendar.TextCalendar(calendar.SUNDAY) print('First Month - 2022') print(cal.prmonth(2022, 1))