Interview Query

Business Days

3
Have you seen this question before?

Given two dates, write a program to find the number of business days that exist between the date range.

Example:

Input:

date1 = 2021-01-31
date2 = 2021-02-18

Output:

def delta_buss_days(date1,date2) -> 14
Next question: Conversations Distribution
.....
Python 3.9.6
Loading editor
Use Shift + Enter to run code