2 lines
47 B
Ruby
2 lines
47 B
Ruby
|
|
(1..10).each_slice(5){|ar| puts ar.join(", ")}
|
|
|
(1..10).each_slice(5){|ar| puts ar.join(", ")}
|