Guys I have this string:
mystring = 'blue, pink, red, red, red, white, long, short, blonde, blonde'
I want to:
1.) Split it into a list,
2.) Erase all duplicates
3.) Sort it out alphabetically
so I did this:
mystring = list(set(mystring.split(', '))).sort()
But why when I go to call this new list it wont even show up?
When I take the .sort() out of the end it works fine, but it ceases to be alphabetical.