Athlete Sort

  • + 0 comments
    sort_factor = []
    for i in range(len(arr)):
        sort_factor.append(arr[i][k])
    sort_factor = list(set(sorted(sort_factor)))
    
    
    for j in sort_factor:
        for y in range(len(arr)):
            if j == arr[y][k]:
                print(*arr[y])