input: def auto_complete(dictionary, prefix):
      """
      This function takes a list of words and a prefix string as input. It returns a list of words from the dictionary
      that start with the given prefix.
  
      >>> dictionary = ["dog", "deer", "deal", "dungeon", "dark", "dusk"]
      >>> prefix = "d"
      >>> auto_complete(dictionary, prefix)
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      """
output:     result = []
      for word in dictionary:
          if word.startswith(prefix):
              result.append(word)
      return result