Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
My Solution solution in Clear category for The First Working Day by sMiTeOne
from datetime import datetime, timedelta
def vacation(date, days):
date = (datetime.strptime(date, "%Y-%m-%d") + timedelta(days = days)).date()
while date.isoweekday() > 5:
date += timedelta(days = 1)
return str(date)
Feb. 4, 2021
Comments: