Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
calendar.weekday solution in Clear category for Unlucky Days by gyahun_dash
from calendar import FRIDAY, weekday
def checkio(year):
return sum(weekday(year, month, 13) == FRIDAY for month in range(1, 13))
March 2, 2016
Comments: