input: 
  def auto_complete(dictionary, prefix):
      """Generate a list of words from a dictionary that start with the given prefix.
      >>> auto_complete(['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk'], 'd')
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      >>> auto_complete(['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk'], 'de')
      ['deer', 'deal']
      """
      prefix_words = []
      for word in dictionary:
          if word.startswith(prefix):
              prefix_words.append(word)
      return prefix_words
  
output:     prefix_words = []
      for word in dictionary:
          if word.startswith(prefix):
              prefix_words.append(word)
      return prefix_words