The following code splits the string in the text on any consecutive runs of whitespace:-
words = text.split()
By using the below-mentioned code you can split the string in the text on delimiter: ",":-
words = text.split(",")
And the words variable will be a list and it will contain the words from text split on the delimiter.