for (1..10) { |i| print i; i == 10 && break; print ', '; } print "\n";