Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Uncategorized category for Unlucky Days by Moff
from datetime import date
def checkio(year):
return sum(1 for m in range(1, 13) if date(year=year, month=m, day=13).weekday() == 4)
March 2, 2016