for row = 1, 5 do local line = "" for col = 1, 5 do line = line .. (row * col) .. "\t" end print(line) end