week-07.json
json Container
READ_ONLY_ACCESS
[ { "id": "python-w07-000", "front": "Week 7 Diagnostic: Can a list be used as a key in a Python dictionary?", "back": "Answer: B — Dictionary keys must be hashable and immutable. Lists are mutable and unhashable, raising `TypeError: unhashable type: 'list'`." }, { "id": "python-w07-001", "front": "Week 7 Diagnostic: What is the result of `len({1, 2, 2, 3, 3, 3})`?", "back": "Answer: 3 — Sets store only unique elements: `{1, 2, 3}` has length 3." } ]
Document outline

Keep your place and jump directly to a heading.

Table of contents

No note selected

Open a chapter to see its outline, backlinks, and sources here.