how to get a specific key in a dictionary python code example Example: how to get a specific key in a dictionary python >>> print(fruit.get('kiwi')) 2.0