0

My requirement is to merge the below two dictionaries in to single dictionaries and also preserve the duplicate keys

a = [ { 'enabled': True, 'health': '/favicon.ico', 'test': 'id'},
      { 'enabled': True, 'disableAccess': False, 'appliance': 'test.com',      'SSOEnabled': False}]

Desired output:

a = [ { 'enabled: True, 'health;: '/favicon.ico', 'test': 'id', 'enabled': True,  'disableAccess': False,  'appliance' : 'test.com', 'SSOEnabled': False}]

Can someone please help this requirement.

Christian Dean
  • 20,986
  • 7
  • 47
  • 78
user3156326
  • 21
  • 1
  • 5

0 Answers0