-
Practice>Python>Date and Time>Calendar Modulehackerrank.com 2019. 2. 13. 20:29728x90
Calendar Module
Problem link : https://www.hackerrank.com/challenges/calendar-module/problemDifficulty : easyTip
- 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'hackerrank.com' 카테고리의 다른 글
Practice>Python>Collections>Collections.OrderedDict() (0) 2019.02.14 Practice>Python>Errors and Exceptions>Exceptions (0) 2019.02.14 Practice>Python>Sets>Symmetric Difference (0) 2019.02.13 Practice>Python>Sets>Introduction to Sets (0) 2019.02.13 Practice>Python>Math>Polar Coordinates (0) 2019.02.12