Working With Data
Explore how to organize, store, and manipulate collections of information using data structures like lists and dictionaries.
9 lessons
What Is a List?
Lists are ordered collections that let you store multiple items in a single variable and access them by position.
Accessing List Items
Learn to retrieve items from lists using indexes, negative indexing, and slicing to extract portions.
Adding and Removing Items
Learn to modify lists by adding new items and removing existing ones using Python's built-in list methods.
What Is a Dictionary?
Dictionaries store data as key-value pairs, letting you look up information by name instead of position.
Accessing Dictionary Values
Learn to read, update, and safely access values in dictionaries using keys and the get() method.
Looping Through Collections
Learn to iterate over lists and dictionaries using for loops, accessing items, keys, values, and indexes.
Working With Nested Data
Learn to navigate and process complex data structures like lists of dictionaries and dictionaries containing lists.
Simple Data Transformations
Learn to filter, map, and aggregate data to build new collections from existing ones.
Generating Example Data With AI
Use AI to quickly create realistic test data for learning and experimenting with code.
Join the conversation
Share your wins, ask questions, and help other builders in the Codistry Academy community.