Python quizzes: #dict

3 quizzes about #dict, with an explanation for every answer.

1 Dictionary Basics Easy Create dictionaries, read and change values, and handle missing keys. Python · Dictionaries & Sets #dict#keys-values 10 questions · ~5 min Not started Start
2 Dictionary Methods Medium Use pop, setdefault, update, copy, views and the merge operator correctly. Python · Dictionaries & Sets #dict#dict-methods 10 questions · ~6 min Not started Start
3 Looping over Dicts Medium Loop over keys, values and items, and avoid the classic dict loop mistakes. Python · Dictionaries & Sets #dict#loops 10 questions · ~6 min Not started Start

Other tags: