Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
datetime solution in Clear category for Unlucky Days by Oksana_Antropova
import datetime
def checkio(year: int) -> int:
return sum(datetime.datetime(year, month, 13).weekday() == 4 for month in range(1, 13))
May 16, 2019