JobPrax
Python Dictionaries โ practice questions ยท JobPrax
JobPrax
Practice
Live projects
Guided projects
For colleges
Pricing
Log in
Start free
All Python topics
Python
Dictionaries
Counting, grouping and looking things up.
Your progress
0
/ 40
Start the first question
All levels
Basic (27)
Intermediate (7)
Advanced (6)
All
To do
Solved
1
Look up a value
Basic
2
Count characters
Basic
3
Word frequency
Interview
Basic
4
Keys with a value
Basic
5
Total of values
Basic
6
Merge two dicts
Basic
7
Invert a dictionary
Basic
8
Read a value
Basic
9
City or Unknown
Basic
10
How many keys?
Basic
11
Key exists?
Basic
12
Add an entry
Basic
13
Keys in order
Basic
14
Biggest value
Basic
15
Remove a key
Basic
16
Double the values
Basic
17
Update the stock
Basic
18
Pass or fail
Basic
19
Shopping bill
Basic
20
Keys above a limit
Basic
21
Pairs to a dictionary
Basic
22
Raise every price
Basic
23
Count a value
Basic
24
Values in order
Basic
25
Combine counts
Basic
26
Word lengths
Basic
27
Key with the smallest value
Basic
28
Group by first letter
Intermediate
29
Most frequent item
Interview
Intermediate
30
Sales by city
Intermediate
31
Sort a dict by value
Intermediate
32
Nested lookup
Intermediate
33
Two lists to a dict
Intermediate
34
Students per grade
Intermediate
35
Group anagrams
Interview
Advanced
36
First unique character
Interview
Advanced
37
Nested dict totals
Advanced
38
Flatten a nested dict
Advanced
39
Running inventory
Advanced
40
LRU-style recent items
Advanced