← Back to Question List
Python Quiz #22
Asking For A Key That Is Not There
The record has two keys. What happens when the program looks up a key that is not in it?
📄 Code
1giselle: dict = {'first_name': 'Giselle', 'age': 19}2print(giselle['height'])