get value by key in code example
Example: get key from a value
person = {'name': 'Phill', 'age': 22}
print('Name: ', person.get('Phill'))
print('Age: ', person.get('age'))
# value is not provided
print('Salary: ', person.get('salary'))
# value is provided
print('Salary: ', person.get('salary', 0.0))