write a tuple of tuples `a` to a csv file using python,writer.writerow(A)