input: from typing import List, Dict
  
  def list_of_lists_to_dict(list_of_lists: List[List[str]]) -> Dict[str, List[str]]:
      """ Convert a list of lists into a dictionary where the first element of each list is the key 
      and the rest of the elements are the values. 
      >>> list_of_lists_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]])
      {'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
      >>> list_of_lists_to_dict([["carrot", "orange"], ["grape", "purple"]])
      {'carrot': ['orange'], 'grape': ['purple']}
      """
      
      dict1 = {}
      for lst in list_of_lists:
          key = lst[0]
          val = lst[1:]
          dict1[key] = val
      return dict1
output:     dict1 = {}
      for lst in list_of_lists:
          key = lst[0]
          val = lst[1:]
          dict1[key] = val
      return dict1