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