We use Python 3.6

go back Level: Beginner (img: BG / score: 2) level Bite 74. What day of the week were you born on?

42 out of 42 users completed this Bite ...
Will you be Pythonista #43 to crack this Bite?
Average Bite difficulty 1-10 rating: 2.0
» You can do it! 😌

Complete weekday_of_birth_date which takes a date object of a birthday and returns the corresponding weekday string.

For example Bob and Julian's birthdays return Saturday and Monday (that's why Bob is meant to relax and Julian to do all the work chuckle).

For this Bite you want to look at the datetime and calendar modules. Have fun!

Github login button