<gh_stars>0
"""
Author: <NAME>
"""

"""
Project Description: Reversed Words

Complete the solution so that it reverses all of the words within the string passed in.

Example:
reverseWords("The greatest victory is that which requires no battle")
// should return "battle no requires which that is victory greatest The"
"""


def reverse_words(s):
    return " ".join(s.split(' ')[::-1])

"""
Author: <NAME>
"""

"""
Project Description: Reversed Words

Complete the solution so that it reverses all of the words within the string passed in.

Example:
reverseWords("The greatest victory is that which requires no battle")
// should return "battle no requires which that is victory greatest The"
"""


def reverse_words(s):
    return " ".join(s.split(' ')[::-1])
Author: <NAME> Project Description: Reversed Words  Complete the solution so that it reverses all of the words within the string passed in.  Example: reverseWords("The greatest victory is that which requires no battle") // should return "battle no requires which that is victory greatest The"