input: 
  from typing import List
  
  def reverse_words(sentence: str) -> str:
      """Reverse the order of words in a given string.
      >>> reverse_words("Hello world")
      'world Hello'
      >>> reverse_words("Python is fun")
      'fun is Python'
      """
      return " ".join(sentence.split()[::-1])
  
output:     words = sentence.split()
      reversed_words = words[::-1]
      return " ".join(reversed_words)