#Recall in Unit 3 you wrote a function that would count the #number of words in a string using loops. Now that you know #something about string methods, though, let's do that again #using a different approach. # #Write a function called "num_words" that accepts a string #as an argument and returns the number of words in the #string. You can assume all words are separated by a space, #and that the string has at least one word. You do not need #to worry about punctuation.