Challenge set
Python Dictionaries
Practice Python dictionaries through six Challenges covering key access, updates, nested records, calculated values, aggregation, and status summaries.
Work through the collection
Challenges in This Set
- 01
Python
Player Profile in Python
Create a Python player dictionary with name, level, and role values, then read its keys to print a clear profile summary.
50XPBeginner - 02
Python
Product Label in Python
Build a Python function that accepts a product dictionary and returns a formatted label using its stored name and price values.
50XPBeginner - 03
Python
Update the Scoreboard in Python
Update a Python scoreboard dictionary with a new score and winner key, then print the completed game result from the stored data.
50XPBeginner - 04
Python
Shipping Address in Python
Work with a nested Python customer dictionary by updating its city and printing a complete shipping address from nested values.
50XPBeginner - 05
Python
Fix the Python Shopping Cart Total
Fix a Python shopping cart function so it multiplies every item's price by its quantity, totals every line, and handles an empty cart.
50XPBeginner - 06
Python
Summarize Orders by Status in Python
Group Python order records by dynamic status values, calculating each group's count and total without changing the input data.
100XPIntermediate

