Practice - Lists (Mutable)
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
Create a list of your three favorite colors.
💡 Hint: Think of the colors that you like most.
Use the append() method to add a color to your list.
💡 Hint: Use the same list from the previous question.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is a correct way to create a list of fruits in Python?
💡 Hint: Look for the correct bracket type for list creation.
True or False: Lists in Python are immutable.
💡 Hint: Think about whether you can change a list or not.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Create a list that contains the names of five classmates and then write a function to print each name on a new line.
💡 Hint: Use a loop to display each classmate's name.
Write a code snippet that takes user input to create a list of favorite movies and prints it out. What if the user adds another movie to the list?
💡 Hint: Think about how to gather and add new input into your list.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.