-
-
Save fatosmorina/b39138843ee089eb66de7162008914f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paragraph = "this is a " \ | |
" paragraph with many " \ | |
" spaces in it" \ | |
"" | |
words = paragraph.split() | |
print(words) # ['this', 'is', 'a', 'paragraph', 'with', 'many', 'spaces', 'in', 'it'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment