# Homework 22, problem 2 -- solution. scores = [12, 7, 24, 9, 30] total = 0 for value in scores: total = total + value print("Total:", total)