CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #22

Asking For A Key That Is Not There

mediumDictionaries

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'])