RosettaCodeData/Task/Loops-Continue/Ruby/loops-continue-1.rb

9 lines
98 B
Ruby
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
for i in 1..10 do
print i
if i % 5 == 0 then
puts
next
end
print ', '
end