Skip to content

Commit e298ba2

Browse files
committed
Solve Month in python
1 parent a6c887e commit e298ba2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

solutions/beecrowd/1052/1052.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import sys
2+
3+
months = {
4+
1: 'January',
5+
2: 'February',
6+
3: 'March',
7+
4: 'April',
8+
5: 'May',
9+
6: 'June',
10+
7: 'July',
11+
8: 'August',
12+
9: 'September',
13+
10: 'October',
14+
11: 'November',
15+
12: 'December',
16+
}
17+
18+
for line in sys.stdin:
19+
print(months[int(line)])

0 commit comments

Comments
 (0)