How can i take a string input that is a sentence and seperate the words by white spaces. If someone enters "cat in the yard" how can i seperate these words and manipulate them individually.
Im only supposed to use functions from string library though. Im pretty sure i need to use the .find() function because i can easily find spaces with it.
I think a for loop might also be helpful but im not entirely sure.