I am trying to convert a set inside a list like
x = [set(['Halo', 'Bye'])]
into a list:
['Halo', 'Bye']
However when I typed list(x), the result still shows
[set(['Halo', 'Bye'])]
Is there a way to do this?
I have been looking at various Stackoverflow resources like this and this for a solution but nothing works.