Can't figure out how to make a proper 1-dimensional list out of
a = ['[2,5911,3391,10687,9796,15870,11533]']
a[1:-1]
i want to get [2,5911,3391,10687,9796,15870,11533]
Slices don't seem to work there
Is there any elegant way to do it without writing 2 for loops Appreciate all the help