for i in (1..10) { print i i == 10 && break print ', ' } print "\n"
Last updated 1 year ago
Was this helpful?