Python Basics: Lists and Tuples Quiz
Interactive Quiz ⋅ 6 Questions
By Martin Breuss
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.
The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!