avatar Bite 147. 100 WEEKDays of Code Date Range

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!

Login and get coding
go back Intermediate level
Bitecoin 3X

142 out of 142 users completed this Bite.
Will you be Pythonista #143 to crack this Bite?
Resolution time: ~34 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.86 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help