Practice - Introduction to Lists
Practice Questions
Test your understanding with targeted questions
What is the index of the value 15 in the list [10, 15, 20]?
💡 Hint: Count starting from 0.
Define a dictionary to store a student's name and their age.
💡 Hint: Use key-value pairs.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the first index of a list in Python?
💡 Hint: Think about how we start counting.
Is it possible to use a list as a key in a dictionary?
💡 Hint: Reflect on the properties of lists and dictionaries.
2 more questions available
Challenge Problems
Push your limits with advanced challenges
Create a dictionary that holds student names as keys and their grades as values. Write a function that finds the average grade.
💡 Hint: Use the sum() function and understand how to access values.
Design a program that takes a list of numbers as input, creates a dictionary that counts the occurrences of each number, and returns it.
💡 Hint: Think about how to iterate through the list and count occurrences.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.