[lang-ref] ( split_words ) ( python )
def test_split_words():
# s.split()
text = "This is a pen.\nI'm not a pen. (not a pen)"
elems = text.split()
assert elems == ['This', 'is', 'a', 'pen.', "I'm", 'not', 'a', 'pen.', '(not', 'a', 'pen)']