Skip to content

Commit

Permalink
Solve Month in python
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Nov 20, 2024
1 parent a6c887e commit e298ba2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions solutions/beecrowd/1052/1052.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import sys

months = {
1: 'January',
2: 'February',
3: 'March',
4: 'April',
5: 'May',
6: 'June',
7: 'July',
8: 'August',
9: 'September',
10: 'October',
11: 'November',
12: 'December',
}

for line in sys.stdin:
print(months[int(line)])

0 comments on commit e298ba2

Please sign in to comment.