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