-- Homework 18, problem 1 -- solution. local i = 1 while i <= 20 do print(i) i = i + 1 end