Albatta! Python funksiyasi xuddi shunday natijaga erishadi: ``` import datetime def count_weekend_days ((start_date, end_date): # Boshlash va yakunlash sanalarini datetime ob'ektlariga aylantirish start = datetime.datetime.strptime ((start_date, '%Y-%m-%d') end = datetime.datetime.strptime ((end_date, '%Y-%m-%d') # Ikki sana o'rtasidagi kunlar sonini hisoblash kunlar = (so'ng - boshlanish). yakshanba + 1 # Ikkita sana o'rtasidagi dam olish kunlari sonini hisoblash kunlari = sum1 (bir kunlik) i uchun dam olish kunlari) agar (dastlabki kun + dam olish kunlari.datetime.delta)) i hafta kunlari (kun) [
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence