input: def auto_complete(dictionary, prefix):
      """
      Generate a list of suggestions based on a given prefix from a dictionary of words.
  
      >>> auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      >>> auto_complete(["apple", "apricot", "banana", "blueberry"], "a")
      ['apple', 'apricot']
      >>> auto_complete(["camel", "cobra", "dog"], "z")
      []
      """
      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