N plus one half

for i in (1..10) {
    print i
    i == 10 && break
    print ', '
}

print "\n"

Last updated