programming-examples/python/Date/Display formatted text output of a month and start weeks on Sunday.py

4 lines
127 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import calendar
cal = calendar.TextCalendar(calendar.SUNDAY)
print('First Month - 2022')
print(cal.prmonth(2022, 1))