3 lines
32 B
Ruby
3 lines
32 B
Ruby
|
|
n = 13
|
||
|
|
p (1..n).sort_by(&:to_s)
|