Python-da if funksiyalari shartli kod bloklarini bajarishga ishlatiladi, aks holda else jumlasi bajariladi. if funksiyalari odatda shartli hukmlarni yozish uchun ishlatiladi, masalan: ```python X = 10 if x>5: print("x is greater than 5") else: print("x is less than or equal to 5") ``` Ushbu misolda if funksiyalari x ning qiymati 5 dan katta yoki kichikligini aniqlaydi, agar shunday bo'lsa, "x is greater than 5"ni chiqaradi, aks holda "x is less than or equal to 5"ni chiqaradi. if funksiyalarida ikkita parametr bor, ulardan biri - hukm qilish uchun, ikkinchisi esa kod bloklarini bajarishga shartli so'zlar.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence