avatar Bite 16. PyBites date generator

Write a generator that returns every 100th day counting forward from the PYBITES_BORN date.

Here is how the generator would work if you import and use it in your REPL:

>>> from itertools import islice
>>> from pprint import pprint as pp
>>> from gendates import gen_special_pybites_dates
>>> gen = gen_special_pybites_dates()
>>> pp(list(islice(gen, 5)))
[datetime.datetime(2017, 3, 29, 0, 0),
datetime.datetime(2017, 7, 7, 0, 0),
datetime.datetime(2017, 10, 15, 0, 0),
datetime.datetime(2018, 1, 23, 0, 0),
 datetime.datetime(2018, 5, 3, 0, 0)]

Keep calm and code in Python, have fun!

Update 3rd of Jan 2021: previously we also asked for the PyBites N year marks as well, but this unnecessarily complicated this beginner Bite so simplified the requirements a bit.

Login and get coding
go back Beginner level
Bitecoin 2X

699 out of 734 users completed this Bite.
Will you be Pythonista #700 to crack this Bite?
Resolution time: ~51 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 6.55 on a 1-10 difficulty scale.
» Up for a challenge? 💪

We use Python 3.8