Reverse the words
Write reverse_words(sentence) that returns the sentence with the order of the words reversed. Words are separated by single spaces; keep each word intact.
Examples
reverse_words("the quick brown fox") → "fox brown quick the"Exercise
3 checksReverse the words
def reverse_words(sentence):
...
print(reverse_words("the quick brown fox"))
Press Run to try your code, then Check answer to grade it.