« first day (3700 days earlier)      last day (402 days later) » 

10:48 AM
0
Q: What is the issue with this date recursive function?

user21388452def check_date(date, holiday_list): if date not in holiday_list and date.weekday()!=5 and date.weekday()!=6: return date else: date = date + timedelta(days = -1) check_date(date, holiday_list) Instead of decrementing the date if the conditions are not satisfied the function is gi...

 
 
3 hours later…
2:01 PM
1 message moved from Old Tool Request or POB questions
1 message moved from Old Tool Request or POB questions
1 message moved from Old Tool Request or POB questions
 

« first day (3700 days earlier)      last day (402 days later) »