input: def auto_complete(dictionary: List[str], prefix: str) -> List[str]:
      """
      Generate a list of suggestions based on a given prefix from a provided dictionary.
      >>> auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      >>> auto_complete(["apple", "banana", "cherry", "date"], "a")
      ['apple']
      """
output:     return [word for word in dictionary if word.startswith(prefix)]