Kodni qayta ishlatish uchun uni funksiya sifatida yozish mumkin. Dasturni umumlashtirish uchun loopning oxirgi qiymati parametr sifatida o'tkaziladi. ``` funksiya addire_alle(start, end) { summe = 0 from i=start to end { summe = addere(summe, i) } give_back_summe) } ``` Soxta kodni Python kabi dasturlash tilida ham amalga oshirish mumkin: ```python defere_alle(start, end): summe = 0 for i in range(start, end): summe += i return summe ````
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence