The function takes a string input and returns a modified version of the input string with exclamation marks added to the end of each word.

