Department Report
Challenge on lesson: Checkpoint: Collections + Control Flow
CHALLENGE
Difficulty: beginner+25 XP
departments = {"sales": [120, 80, 150], "it": [200, 180]} is given (spending per month). Print each department and its total as sales: 350 / it: 380 โ two lines. Then print the name of the department with the higher total: top: it
Press Submit to check your solution.
Back to lesson: Checkpoint: Collections + Control Flow