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