We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 147. 100 WEEKDays of Code Date Range

3 out of 3 users completed this Bite ...
Will you be Pythonista #4 to crack this Bite?

Doing a #100DaysOfCode can be challenging, and some of it is because you dedicate to do it on workdays AND during weekends.

PyBites coding to the rescue. In this Bite you plan your next 100 days excluding weekends.

Complete get_hundred_weekdays that takes a start_date which defaults to the TODAY constant.

Read up on the awesome dateutil module and try to use it to generate a list of 100 weekdays from start_date. By completion you would have a cool new snippet for your coding arsenal :) - good luck and enjoy the ride!

Github login button