Dictionary are {key: value, key2: value2, etc..}
device = {}
device[‘ip_addr’] = ‘10.10.10.1’
print(device)
{‘ip_addr’: ‘10.10.10.1’}
Network Engineer – F.O.C.U.S Follow One Course Until Successful
Dictionary are {key: value, key2: value2, etc..}
device = {}
device[‘ip_addr’] = ‘10.10.10.1’
print(device)
{‘ip_addr’: ‘10.10.10.1’}