I have string variable in python as
variable = "[['Acc',{'b':1,'s':1}],['ABC',{'c':1,'d':1}]]"
the type of this varible is <class 'str'>
I want output as
result = [['Acc',{'b':1,'s':1}],['ABC'],{'c':1,'d':1}]
which should be of type <class 'list'>
I dont know how to get this. Plz help me.