hackerrank.com
Practice>Python>Date and Time>Calendar Module
건이두
2019. 2. 13. 20:29
728x90
Calendar Module
Problem link : https://www.hackerrank.com/challenges/calendar-module/problem
Difficulty : easy
Tip
- We can solve this problem with datetime, but let's try to use calendar
- calendar.weekday(y, m, d) return index of the day of week
- calendar.day_name, this is array which contain the days as current locale
- Don't forget day name should be upper-case!
Solution
728x90