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

Stilul vizual

Arată tot

Setări de activitate

Clasament

Comutare șablon

Restaurare activitate salvată automat: ?