+ 1
Why output is 1? Pleass explain.
h = Hash.new{ -1 rand 1 } p h[1].to_i
2 Respostas
+ 1
Tell me what you want to be shown I might help
0
I went through this qus during sololearner chalange and I was not able to understand the answer thats why I asked here.☺