foreach i 1..10 { print (i) if ((i % 5) == 0) { println() continue } print (", ") }