Python: String: Reverse Words

Write a function that takes a string and returns another string where the words are reversed. Words inside the string are separated by a white-space.

reverse_words('we all agreed; it was a magnificent evening.') -> 'ew lla ;deerga ti saw a tnecifingam .gnineve'

Test 1    

Test 2    

Test 3    

Test 4    

Test 5    

Test 6