input: def auto_complete(dictionary, prefix):
      """
      Given a list of words (dictionary) and a prefix, this function returns a list of
      words that start with the given prefix.
      
      >>> auto_complete(["dog", "deer", "deal", "dungeon", "dark", "dusk"], "d")
      ['dog', 'deer', 'deal', 'dungeon', 'dark', 'dusk']
      >>> auto_complete(["apple", "banana", "cherry", "date"], "a")
      ['apple']
      >>> auto_complete(["python", "java", "javascript", "r", "ruby"], "j")
      ['java', 'javascript']
      """
output:     return [word for word in dictionary if word.startswith(prefix)]