GH avatar Bite 16. PyBites date generator

Write a generator that returns special dates for PyBites:

  1. Every year mark counting from PYBITES_BORN date (so 19th of Dec 2017, 19th of Dec 2018, etc)
  2. Every 100 days mark counting from PYBITES_BORN (29th of March 2017, 7th of July 2017, etc)

See the tests for more details how your code will be tested: as this is a beginner's challenge we only calculate a few years ahead, leaving the next leap year (2020) out of this challenge.

We will revisit this in an intermediate challenge. Have fun!

go back Beginner level
Bitecoin 2X

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

Buy Now Login and get coding
We use Python 3.7