9 lines
98 B
Ruby
9 lines
98 B
Ruby
|
|
for i in 1..10 do
|
||
|
|
print i
|
||
|
|
if i % 5 == 0 then
|
||
|
|
puts
|
||
|
|
next
|
||
|
|
end
|
||
|
|
print ', '
|
||
|
|
end
|