Bu pythonda butun sonlar ro'yxatini to'plamli tartiblash kodidir: ``` def bubbleSort ((arr): n = len ((arr) # Matrida barcha elementlarni i uchun oralab o'tish: ((n): # Oxirgi i elementlari j uchun allaqachon mavjud: ((0, n-i-1): # Agar topilgan element keyingi elementdan kattaroq bo'lsa, almashtirish: arr[j] > arr[j+1]: arr[j], arr[j+1] = arr[j+1], arr[j] qaytarib berish arr # Butun sonlar ro'yxati namunasidan foydalanishni sinab ko'ring arr = [64, 34, 25, 12, 22, 11, 90] print ((("Tartiblangan matr:", bubbleSort ((arr)) ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence