How to extract the n-th elements from a list of tuples

n = 1 # N. . .
[x[n] for x in elements]

Leave a Comment