So, I have x=[(12,), (1,), (3,)] (list of tuples) and I want x=[12, 1, 3] (list of integers) in best way possible? Can you please help?
x=[(12,), (1,), (3,)]
x=[12, 1, 3]