워킹데이 계산기 with python
import datetime # Define the date ranges date_ranges = [ ("2005-08-02", "2005-08-29") ] # Function to calculate working days in a range def calculate_working_days(start, end): start_date = datetime.datetime.strptime(start, "%Y-%m-%d") end_date = datetime.datetime.strptime(end, "%Y-%m-%d") working_days = 0 current_date = start_date while current_date