prize17-4, Exercise 3: Horns per rhythm player band = {"saxophones": 5, "trumpets": 4, "trombones": 3, "rhythm": 4} horns = sum(n for s, n in band.items() if s != "rhythm") print("horns:", horns, "rhythm:", band["rhythm"], "horns per rhythm player:", round(horns / band["rhythm"], 1)) Output (run and checked): horns: 12 rhythm: 4 horns per rhythm player: 3.0 Why it works: the generator expression adds up every section except the rhythm section (5 + 4 + 3 = 12), and dividing by the 4 rhythm players gives 3.0. Care: the band sizes are a model from the chapter, not a fixed rule. Change the numbers to try other bands.