-- Chapter 20 example: accumulate the sum of 1 to 20.
-- Add the count pattern below to print how many are even.
local sum = 0
for i = 1, 20 do
    sum = sum + i
end
print("sum", sum)
