You are viewing a single comment's thread. Return to all comments →
For Python 3:
n, m = map(int, input().split()) a = [list(map(int, input().split())) for _ in range(n)] k = int(input()) a.sort(key=lambda x: x[k]) for athlete in a: print(*athlete)
Seems like cookies are disabled on this browser, please enable them to open this website
Athlete Sort
You are viewing a single comment's thread. Return to all comments →
For Python 3: