Best way to get the nth element of each tuple from a list of tuples in Python,[x[0] for x in G]