Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Adjustment solution in Clear category for Weekend Counter by veky
def checkio(d1, d2):
w1, w2 = d1.weekday(), d2.weekday()
count = (d2 - d1).days // 7 * 2
while True:
count += w2 > 4
if w1 == w2: return count
w2 = (w2 - 1) % 7
Sept. 25, 2013
Comments: