I have seen some similar questions but it is not exactly what Im looking for. I have
["[1, 2, 3],[4, 5, 6],"]
which is the output of a file and Im wondering how to convert it to
[[1,2,3],[4,5,6]]
pd: it is only possible to use built-in python functions(except for eval), no external libraries allowed Thanks in advance