input: Write a function to generate a list of suggestions based on a given prefix from a provided dictionary. The function should return a list of words that start with the specified prefix.
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")==["dog", "deer", "deal", "dungeon", "dark", "dusk"]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "do")==["dog"]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "de")==["deer", "deal"]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "dun")==["dungeon"]
  assert auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "x")==[]
output: def auto_complete(dictionary, prefix):
      return [word for word in dictionary if word.startswith(prefix)]