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 command would you use to create an empty dictionary?
π‘ Hint: Think of how you declare other collections.
Question 2
Easy
How would you access a value for a key named 'Dhawan'?
π‘ Hint: Remember to use square brackets with the key inside.
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 data structure uses unique keys to access values?
π‘ Hint: Think about how each key is unique.
Question 2
True or False: Keys in a dictionary can be mutable data types.
π‘ Hint: Consider if you can modify a key after it is set.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Create a function that receives a nested dictionary and returns the total scores for each player across all tests.
π‘ Hint: Think about how you can keep a running total for each player as you iterate over the nested structure.
Question 2
Write a Python program that finds the highest score among players in a dictionary structure.
π‘ Hint: What kind of loop can you use to go through all the scores?
Challenge and get performance evaluation