for i in {1..5} loop for j in {1..i} loop nprint( '*' ); end loop; print; -- new line end loop;