Im trying to compare the values of 2 Dictionaries and create a new dictionary containing keys of 1st dictionary with non matched values
D1 = {'ID1': ['Name'], 'ID2': ['Name', 'email', 'environment', 'team', 'product'], 'ID3': ['Name', 'team']}
D2 = {'SNO': ['Name', 'email', 'environment', 'team', 'product']}
I can take D2 as list also:
D2 = ['Name', 'email', 'environment', 'team', 'product']
Expected result should be:
{'ID1': [ 'email', 'environment', 'team', 'product'], 'ID2': [], 'ID3': [ 'email', 'environment', 'product']}