What\'s the most compact way to return the following:
Given a list of tuples, return a list consisting of the tuples first (or second, doesn\'t matter) elements.
>>> tl = [(1,'one'),(2,'two'),(3,'three')] >>> [item[0] for item in tl] [1, 2, 3]