Import Model

Programs

Write a python program which accept the year and month from user and print the calendar for that month and year

import calendar
year = int(input("Enter Year 'YYYY' : "))
month = int(input("Enter Month 'MM' : "))
print(calendar.month(year, month))


View Solution


Write a Python program which accept a year from user and print the calendrer of all months in that year.


import calendar
year = int(input("Enter Year 'YYYY' : "))
print ("The calendar of year ",year," is : ")
print (calendar.calendar(year, 2, 1, 6))

View Solution


CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad