Continue

for i in (1..10) {
    print i
    if (i % 5 == 0) {
        print "\n"
        next
    }
    print ', '
}

Last updated