Dictionaries

Dictionary are {key: value, key2: value2, etc..}

device = {}
device[‘ip_addr’] = ‘10.10.10.1’
print(device)
{‘ip_addr’: ‘10.10.10.1’}

 

 

 

Leave a Comment