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 :)

Login and get coding
go back Intermediate level
Bitecoin 3X

Will you be Pythonista #146 to crack this Bite?
Resolution time: ~25 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.0 on a 1-10 difficulty scale.
» You can do it! 😌

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

Ask for Help