Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
new vision solution in Clear category for Weekend Counter by kalauroma7997
from datetime import date, timedelta
checkio = lambda date1, date2: sum((date1 + timedelta(days=day)).isoweekday() in [6, 7] for day in range((date2-date1).days + 1))
Dec. 4, 2020
Comments: