#!/usr/bin/python3 # -*- coding: utf-8 -*- from typing import List # line 1 swapped: int = 1 a: List[int] = [3, 2, 1] while swapped == 1: # line 2 swapped = 0 # line 3 for i in range(1, len(a)): # line 4 if a[i - 1] > a[i]: # line 5 a[i - 1], a[i] = a[i], a[i - 1] # old lines 6/7 swapped = 1 # line 8 # line 9 # line 10 # line 11 # line 12