Lists and Tuples
Learn how to store multiple items in a single variable
1
Lists and Tuples
Welcome to the Data Structures lesson! Today, we'll learn about two important ways to store multiple items in a single variable using lists and tuples in Python.
2
What are Lists and Tuples?
Lists and tuples are data structures that allow you to store multiple items in one place. They help organize data and make it easier to manage collections of related information.
- Lists: Mutable collections, meaning you can change, add, or remove items.
- Tuples: Immutable collections, meaning once created, you cannot modify them.
All lessons in this course
- Lists and Tuples
- Dictionaries
- Sets
- Manipulating Data Structures