how to get values out of a python dictionary code example
Example: how to get the value out of a dictionary python3
#!/usr/bin/python3
dict = {'Name': 'Zara', 'Age': 27}
print ("Value : %s" % dict.get('Age'))
print ("Value : %s" % dict.get('Sex', "NA"))
# Value : 27
# Value : NA