I have a list of string like the following, and I want to convert it to the following; could you please help me with that;
Here is my list:
IN = ['7','8',"['#15140C', '#977E4F']"]
And here is the output that I want.
OUTput = [7,8,['#15140C', '#977E4F']]
I try to use [float(i) for I in range(Len(list))].