input: 
  from typing import List
  
  def autocomplete(dictionary: List[str], prefix: str) -> List[str]:
      """ Given a list of words and a prefix, return a list of all words that start with the given prefix.
      >>> autocomplete(['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk'], 'd')
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      >>> autocomplete(['ant', 'angel', 'apple', 'arrow'], 'a')
      ['ant', 'angel', 'apple', 'arrow']
      """
      return [word for word in dictionary if word.startswith(prefix)]
  
output:     return [word for word in dictionary if word.startswith(prefix)]