In Python Basics: Lists and Tuples, you’ve met two new and important data structures:
- Lists
- Tuples
Both of these data types are sequences, meaning they are objects that contain other objects in a certain order. They each have some important distinguishing properties and come with their own set of methods for interacting with objects of each type.
In this quiz, youll test your knowledge of:
- Creating lists and tuples
- Indexing and slicing lists and tuples
- Iterating over these containers
- Understanding their differences, specifically the impact of mutability
- Adding and removing items from a list
Then, you can move on to other Python Basics courses.
[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]