How can I use split( ) to make censor?
join() uses the string it’s attached to to determine how to join together the string you provide in parentheses,
split() does the same for splitting a string passed to it.
For example, if we have
my_words_split = " ".split("first second third last"), the resulting list stored in
my_words_split will be
["first", "second", "third", "last"].
We’ve done lots of work with lists, so the rest of this function is up to you, but remember to
" ".join() your words back together at the end if you take this route!