Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβperfect for learners of all ages.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
What is the structure of a dictionary?
π‘ Hint: Think about how you would look someone up in a phone book.
Question 2
Easy
Can a list be used as a key in a dictionary?
π‘ Hint: Remember, keys need to be something that doesn't change.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What type of object can be used as a key in a dictionary?
π‘ Hint: Remember what qualifies an object to be a key!
Question 2
True or False: A dictionary can store lists as values but not as keys.
π‘ Hint: Think about the properties of keys in dictionaries.
Solve 1 more question and get performance evaluation
Push your limits with challenges.
Question 1
Write a program to create a nested dictionary that tracks the attendance of students for various classes, allowing updates for each class.
π‘ Hint: Think about how to structure classes and students with keys.
Question 2
How would you implement a function that deletes a specific student's score from a nested dictionary?
π‘ Hint: Ensure you have access to the right layer of the dictionary!
Challenge and get performance evaluation