Exercise 2: A Sum You Can Read — Possible Solution ==================================================================== scores = [88, 92, 79, 100] print(f"{' + '.join(str(s) for s in scores)} = {sum(scores)}") print(f"{' + '.join(map(str, scores))} = {sum(scores)}") Output: 88 + 92 + 79 + 100 = 359 88 + 92 + 79 + 100 = 359 WHY THIS WORKS AS AN ANSWER ------------------------------ ' + '.join(scores) would raise TypeError because the items are ints, so each one has to be converted to a string first. str(s) for s in scores produces the strings one at a time; map(str, scores) applies str to every item and does the same job more briefly. Both are used by join immediately, so no extra list is built by hand. Note the single quotes around ' + ' inside the double-quoted f-string: different quote types keep this valid on every Python version.