I have a string as follows
str = "['A', 'B', 'C'] ['D', 'E', 'F']"
I use json.load
with ast.literal_eval
neither works
Is there any function that can quickly and perfectly parse this string?
hope through like
parse = str.somethingfunction()
print (parse [0][2])
output: C