Name
monthcalendar
Synopsis
monthcalendar(year
,month
)
Returns a list of lists of integers.
Each sublist represents a week. Days outside month
month
of year
year
are represented by a placeholder
value of 0
; days within the given month are
represented by their dates, from 1
on up.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.