How to create a set of words from a string?
string=("one one two three three four hello hello")
set_of_words = set(string.split(' ')
Are there any code examples left?
New code examples in category Other
string=("one one two three three four hello hello")
set_of_words = set(string.split(' ')