# Chapter 20 example: accumulate the sum of 1 to 20. # Add the count pattern below to print how many are even. sum = 0 for i in range(1, 21): sum = sum + i print("sum", sum)