Articles → PYTHON → Calendar In PythonCalendar In PythonIn this article, we will make a calendar in Python.Example Here is the code for the calendar.import calendar cal = calendar.month(2017,4) print(cal)In the above code: -Calendar module is importedThe Month function is called with year and month as parametersDisplay the calendarOutput Posted By - Karan Gupta Posted On - Wednesday, February 27, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import calendar cal = calendar.month(2017,4) print(cal)
Query/Feedback