for (i in 1..5) { for (j in 1..i) System.write("*") System.print() }