1 - for i in range(1, len(list)):, 2 - currentval = list[i], 3 - position = i, 4 - while (position > 0) and (list[position - 1] > currentval):, 5 - list[position] = list[position -1], 6 - position -=1, 7 - list[position] = currentval,

Tabela rankingowa

Motyw

Opcje

Zmień szablon

Przywrócić automatycznie zapisane ćwiczenie: ?