Practice - Programming, Data Structures and Algorithms in Python
Practice Questions
Test your understanding with targeted questions
What is a list in Python?
💡 Hint: Think of it as a box that can contain different items.
How do you access the first element of a list called 'my_list'?
💡 Hint: Remember, indexing starts at zero.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What does list_name[2] return in a list called list_name?
💡 Hint: Remember that counting starts from zero.
True or False: Lists in Python can hold mixed data types.
💡 Hint: Think about how versatile lists can be.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Given the following code: myList = [10, 'Hello', [3.14, 2]]; how would you return '\Hello\'?
💡 Hint: Direct indexing can get you to simple values easily!
Create a nested list of three lists and retrieve the second item from the second list. What would your list look like?
💡 Hint: Think through your indices carefully, and the result should appear straightforward.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.