Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

The Calendar Module:

             Python provide a calendar object that contains various methods to work with the calendars.

import calendar

print(calendar.month(2022,7))

 

 

Note:- you can also print the calendar of whole year. The prcal() method of calendar module is used to print the calendar of the whole year.

import calendar

print(calendar.prcal(2022))

error: Content is protected !!