I have a list as a string like this:
"['USA', 'Canada', 'Mexico', 'Brazil']"
I want to retrieve the list from the string, like this:
['USA', 'Canada', 'Mexico', 'Brazil']
How can I do that? Itertools or list function have not given me the proper result. Thanks