1.In-place sorting 原地排序 data=[6,4,5,2,3,1] print ('before sort', data) data.sort() print ('after sort BIF:', data) =========== RESTART: C:/Users/eric/Documents/Python/kelly/sort.py =========== before sort [6, 4, 5, 2, 3, 1] after sort BIF: [1, 2, 3,…