- I need to re-instantiate the dictionary without last element
Below are sample list and dictionary
List of Dictionary
[{'emptype': ['Manager'],
  'Designation': ['Developer'],
  'projecttype': ['temp']}]
Dictionary
{'emptype': ['Manager'],
  'Designation': ['Developer'],
  'projecttype': ['temp']}
How to extract the elements except last
Expected out from list of dictionary
[{'emptype': ['Manager'],
  'Designation': ['Developer']}]
Expected out from dictionary
 {'emptype': ['Manager'],
      'Designation': ['Developer']}
 
     
     
    