I have a string value that I want to convert to a list. Also once it's converted to a list, I want this kite to act as a variable
control_bag="[["A",("A","B","S","D"),(8,8,kite),(2,2,1)]]"
So, what I am looking as to change the string control_bag to list and kite will be a variable. The result in curve bracket will act as tuple
control_bag = [["A",("A","B","S","D"),(8,8,kite),(2,2,1)]]
I have tried json.loads
, but its causing error due to curve brackets