Answers for "python create calendar"

1

how yo make a calendar in pytohn

please check out my video also - https://www.youtube.com/watch?v=ZA3XAZ-dB5M&t=9s
please subscribe my channel - https://bit.ly/2Me2CfB

# importing the calendar module
import calendar

#taking input of year from the user
y = int(input("ENTER THE YEAR : "))

#taking input of month from the user
m = int(input("ENTER THE MONTH : "))

# making calendar in the 'cal' variable
cal = calendar.month(y, m)

# print the cal (calendar is stored in the cal variable)
print(cal)
Posted by: Guest on July-09-2021
0

calendar library in python

import calendar
calendar.setfirstweekday(calendar.SUNDAY)
Posted by: Guest on July-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language