menghasilkan 6 digit bilangan acak ruby
10.times.map{rand(10)}.join # => "3401487670"
Janmejay
10.times.map{rand(10)}.join # => "3401487670"