Skip to content

Commit 7c1a52b

Browse files
authored
Merge pull request #12 from Shrutiiijoshi/main
Create calendar.py
2 parents a9e1087 + 9252b5c commit 7c1a52b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

calendar.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Program to display calendar of the given month and year
2+
3+
# importing calendar module
4+
import calendar
5+
6+
yy = 2014 # year
7+
mm = 11 # month
8+
9+
# To take month and year input from the user
10+
# yy = int(input("Enter year: "))
11+
# mm = int(input("Enter month: "))
12+
13+
# display the calendar
14+
print(calendar.month(yy, mm))

0 commit comments

Comments
 (0)