Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Unlucky Days by tokiojapan55
from datetime import date
def checkio(year: int) -> int:
return len([m for m in range(12) if date(year,m+1,13).weekday()==4])
June 17, 2020