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 symbol is used to create a dictionary in Python?
π‘ Hint: Think of how Python indicates a dictionary.
Question 2
Easy
Can a list be used as a key in a dictionary?
π‘ Hint: Think of what makes a key valid.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
Which symbol is used to define a dictionary in Python?
π‘ Hint: Think about the symbols used in Python for different data structures.
Question 2
True or False: A dictionary can contain a list as a key.
π‘ Hint: Consider the definition of immutability.
Solve 1 more question and get performance evaluation
Push your limits with challenges.
Question 1
Create a nested dictionary that contains information about different fruits, including their colors, average weight, and whether they are tropical or not.
π‘ Hint: Think of adding several attributes for each fruit as a sub-dictionary.
Question 2
How can you ensure that when processing keys, they are formatted in alphabetical order?
π‘ Hint: Consider functions that manipulate order during processing.
Challenge and get performance evaluation