1/2es

Data utworzenia: 2025-05-21 11:08:31
def Wstawianie(A) n = len(A) for i in range(l, n): pom = A[i] j = i - 1 while j >= 0 and A[j] > pom: A[j+1] = A[j] j -= 1 A[j + 1] = pom ListaA = [3, 0, 1, 8, 7, 2, 5, 4, 6, 9] ListaB = [19, 18, 17, 16, 15] print("ListaA przed sortowaniem"] for i in ListaA:
Powrót