Complete the solution so that it reverses all of the words within the string passed in.
Examples:
reverseWords("The greatest victory is that which requires no battle")
# should return "battle no requires which that is victory greatest The"
def reverseWords(str):
pass
def reverseWords(str):
return " ".join(w for w in str.split()[::-1])