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