Practice · 3 of 3
Total Inventory Value
CHALLENGE
Difficulty: beginner+25 XP
prices = {"pen": 2, "book": 10, "bag": 30} is given. Print the sum of all values.
Press Submit to check your solution.
Back to lesson: Practice: Dictionary Drills
Practice · 3 of 3
prices = {"pen": 2, "book": 10, "bag": 30} is given. Print the sum of all values.
Back to lesson: Practice: Dictionary Drills