for (i in 1..10) { System.write(i) if (i%5 == 0) { System.print() continue } System.write(", ") } System.print()