input: def reverse_words(str):
      """ Reverse the order of words in a given string.
      >>> reverse_words('Hello World')
      'World Hello'
      >>> reverse_words('Python is great')
      'great is Python'
      """
output:     words = str.split()
      reversed_words = words[::-1]
      return ' '.join(reversed_words)