We will now use our knowledge of strings to build a "Mad Libs" style word game we're calling "Word Blanks". You will create an (optionally humorous) "Fill in the Blanks" style sentence.
You will need to use string operators to build a new string, result
, using the provided variables: myNoun
, myAdjective
, myVerb
, and myAdverb
.
You will also need to provide additional strings, which will not change, in between the provided words.
We have provided a framework for testing your results with different words. The tests will run your function with several different inputs to make sure all of the provided words appear in the output, as well as your extra strings.