Albatta, Python-da o'nli sonlarni ikkilik va aksincha o'nli sonlarga aylantiradigan misol dasturi bor: ``` # o'nli sonni ikkilikga aylantirish funksiyasi def o'nli_to_binary ((o'nli): binary = '' o'nli son > 0: binary = str ((o'nli son % 2) + binary o'nli son //= 2 qaytarish o'nli sonni ikkilikga aylantirish funksiyasi def o'nli sonni o'nli songa aylantirish funksiyasi binary_to_decimal ((o'nli son): o'nli son = 0 o'nli son = o'nli son * 2 + ((o'nli son) qaytarish o'nli son # misol foydalanish print ((o'nli sonni o'nli son
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence