Practice - Executing Steps in Programs
Practice Questions
Test your understanding with targeted questions
What is a list in Python?
💡 Hint: Think about how we store multiple items.
How do you assign a variable in Python?
💡 Hint: What can you say to set a variable to an empty list?
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the purpose of a list in programming?
💡 Hint: Think about why we use lists rather than separate variables.
True or False: You cannot change the value of a list once it is created.
💡 Hint: Remember, we used methods to change the contents of lists.
2 more questions available
Challenge Problems
Push your limits with advanced challenges
Write a Python function that takes a number as input and returns all prime numbers up to that number using lists.
💡 Hint: Consider how to check for divisibility without using a separate list of primes.
Design a function to merge two lists of numbers into a single sorted list.
💡 Hint: Think about how you can combine two lists into one and sort it.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.