Reverse Words in a Sentence
You are given a string containing a single sentence as an argument. Return a string containing the words of the sentence in reverse order.
Any special characters following a word should be considered part of that word.
- Must return a single string
- Must work with any combination of upper or lowercase letters and special characters
solve("Hi, how are you?") > "you? are how Hi,"
solve("To be, or not to be: that is the question") > "question the is that be: to not or be, To"