True or False: Friday the 13th?

Face of a black cat
Photo by Hannah Troupe on Unsplash
Given the month and year as numbers, return whether that month contains a Friday 13th.The return should be true or false, and here are the examples supplied:has_friday_13(3, 2020) ➞ Truehas_friday_13(10, 2017) ➞ Truehas_friday_13(1, 1985) ➞ False
results from the 3 examples
The results of Friday the Thirteen

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store