input: def auto_complete(dictionary: List[str], prefix: str) -> List[str]:
      """ 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']
      """
output:     suggestions = []
      for word in dictionary:
          if word.startswith(prefix):
              suggestions.append(word)
      return suggestions