Mega Code Archive
Categories
/
Python
/
String
A sentence is split up into a list of words
sentence = 'It is raining cats and dogs' words = sentence.split() print words