20.9 - List Functions and Methods
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
What function would you use to find the number of elements in a list?
💡 Hint: Think about how you measure length.
If my_list = [3, 5, 1], what is min(my_list)?
💡 Hint: What is the smallest number here?
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What does sum([1, 2, 3]) return?
💡 Hint: What do you get when you add these numbers together?
Does max([9, 4, 7]) return 4?
💡 Hint: Find the highest value in the list.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Given the list data = [8, 3, 9, 1, 4], how would you find the second largest number?
💡 Hint: What happens to the order when you sort the list?
You have a list of temperatures measured throughout the week. How would you find the average temperature?
💡 Hint: How do you calculate an average?
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.