GH avatar Bite 197. What date is Mother's Day celebrated?

It's the 12th of May 2019 when we write this so happy Mother's Day! In many countries this special day is celebrated on the second Sunday of May. In this Bite you will calculate which date this was / will be for year range 2014-2024.

Complete get_mothers_day_date which takes a year int argument and returns a date object = the 2nd Sunday of May for that year. We use this table in our tests to verify your code.

Good luck and, Mother's day or not, ABC/ Always Be Coding! And of course best if we keep calm and code in Python :)

Will you be Pythonista #25 to crack this Bite?
It takes an average of ~21 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 2.0 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7