for (i in 1...11) { Sys.print(i); if (i % 5 == 0) { Sys.print('\n'); continue; } Sys.print(', '); }