I have two dict. The elements in the dicts come in order.
[{'macaddress': 'xx:xx:xx:xx:xx:xx'}, {'macaddress': 'cc:cc:cc:cc:cc:cc'}]
[{'ipaddress': '192.168.1.1'}, {'ipaddress': '192.168.1.2'}]
I want to combine them as I show below;
[
{
'macaddress': 'xx:xx:xx:xx:xx:xx',
'ipaddress': '192.168.1.1'
},
{
'macaddress': 'cc:cc:cc:cc:cc:cc',
'ipaddress': '192.168.1.2'
}
]
How can I do that? Thanks.