I am getting this: {{{{{{1, 1}}, {2, 4}}, {3, 9}}, {4, 16}}, {5, 25}}
I want it like this: {{1, 1}, {2, 4}, {3, 9}, {4, 16}, {5, 25}} so that I can use this as coordinate points in ListPlot to make a plot.
I tried using Flatten (it removes all the inner brackets so that it stops being a coordinate) , First etc but nothing worked. Please help
Flatten
as you suggested but then toPartition
into sublists of 2. This should work:Partition[Flatten[list],2]
$\endgroup$