how to index nested lists in python?,[tup[0] for tup in A]