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