Show the calender in python by R4R Team

program-

#import the calendar module
import calendar

#take imput of yaer
print("Enter the year")
n=int(input())

#find calendar of the input year
print("Calendar of ",n,"is-")
print(calendar.calendar(2019))

output-


Enter the year
2019
Calendar of 2019 is -
2019
January
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031Â Â Â
February
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728Â Â Â
March
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031
April
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930Â Â Â Â Â
May
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031Â Â
June
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
July
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031Â Â Â Â
August
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031Â
September
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
30Â Â Â Â Â Â
October
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031Â Â Â
November
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930Â
December
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031Â Â Â Â Â

Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!