python dictionary if not found

value = d.get(key)				# Null
value = d.get(key, "empty")		# empty

Here is what the above code is Doing:
1. We create a dictionary with two keys, “name” and “age”.
2. We try to get the value of the key “name”.
3. We try to get the value of the key “height”.
4. We try to get the value of the key “height” and if it doesn’t exist, we return the string “empty”.