Chapter
Collections and text
<p>Store related values in lists and dictionaries, then inspect and transform text safely.</p>
Lessons
-
Lists and indexing
Store an ordered collection, access items by index, and add or remove values.
-
Dictionaries and key-value data
Represent named facts with dictionary keys, safely retrieve values, and update records.
-
Strings and useful text operations
Use string methods, f-strings, and careful indexing to work with text.