[002001..002671,300001..300329,000001..000999,600000..601999,603000,603001,603002,603123,603128,603333,603366].each do |range|
range.to_a.each do |n|
puts n
end
end
每个数字 002002 都是要这个的格式,然后做处理,应该要把他变成字符串,不过之前的 002001..002671 这样写正确吗? 报错
Invalid octal digit
...671,300001..300329,000001..000999,600000..601999,603000,6030...