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 a dictionary in Python?
π‘ Hint: Think about how we can access values using names.
Question 2
Easy
How do you create an empty dictionary?
π‘ Hint: How do you define a collection in Python?
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 method would you use to get all keys from a dictionary?
π‘ Hint: Remember the syntax?
Question 2
True or False: You can use a list as a key in a dictionary.
π‘ Hint: Think about what types are permissible for keys.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Create a dictionary where players are keys and their scores for different matches are nested dictionaries.
π‘ Hint: Start by creating each player's main dictionary and then adding another layer for scores.
Question 2
Write a function that accepts a dictionary of names and scores and calculates the average score.
π‘ Hint: Think about how to traverse the dictionary.
Challenge and get performance evaluation