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 ))
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))
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