The Value method returns the value of a given Dictionary key.
Dictionary.Value(Key)
The following example returns the value associated with the key “last_name
” in the my_dictionary
Dictionary object, and assigns the value to the variable result
:
result = my_dictionary.value("last_name")