Search code examples
stringlistpython-2.5

Picking the First string from a List


how i can Pick only the First pick in a List in this example?

List = [[110, 10, 20 , 30], [120, 40, 50, 60], [130, 70, 80, 90]]

The Output should be:

Times = [110, 120, 130]

Thank you


Solution

  • Come on

    [l[0] for l in my_list]