How to index nested lists in Python?,[tup[0] for tup in A]