Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

KeyError

>>> d = {'apples': 15, 'bananas': 35, 'grapes': 12}
>>> d['banana']
KeyError
Source by runestone.academy #
 
PREVIOUS NEXT
Tagged: #KeyError
ADD COMMENT
Topic
Name
3+5 =