how to make sun as first day in calendar python
import calendar
# to set the first weekday to SUNDAY.
calendar.setfirstweekday(calendar.SUNDAY)
print(calendar.month(2020, 10 ))
how to make sun as first day in calendar python
import calendar
# to set the first weekday to SUNDAY.
calendar.setfirstweekday(calendar.SUNDAY)
print(calendar.month(2020, 10 ))
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)
calendar program in python
import calendar
print("Your Calendern n ")
y = int(input("Enter the Year : "))
m = int(input("Enter the month : "))
try:
mycalender = calendar.month(y , m)
print("n", mycalender)
except IndexError:
print("Its out of range")
python calendar
import calendar
yio = int(input('Input a month'))
s = int(input('Input a year'))
print(calendar.month(s,yio))
calendar library in python
import calendar
calendar.setfirstweekday(calendar.SUNDAY)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us