python programme for calender......pyprograms

#import_module
import calendar

#year=2090
#month=12
yy=int(input('enter year' ))
mm=int(input('enter month' ))

print('year=',yy)
print('month=',mm)

print('calendar.month(yy,mm)')
res=calendar.month(yy,mm)
print('res=',res)


*******till the above line*********
this is my first python programme on this website 
please follow me for more programmes...
************************************
*******result of the program******* 
enter year 2014
enter month 12
year= 2014
month= 12
calendar.month(yy,mm)
res=    December 2014
Mo Tu We Th Fr Sa Su
 1  2  3  4  5  6  7
 8  9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31


Process finished with exit code 0

******this is what you should get***



( enter any year till 
2090, or modify the limit in line 3
to your wish.)

***********Thank you***************
please follow me 
karthikpoluri96@gmail.com

Comments

Popular Posts