how to get values of keys in a dictionary python 3 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