times method returns nil with hash

前端 未结 0 1599
失恋的感觉
失恋的感觉 2021-01-05 01:09

What I did is get random 2 values from hash and match them with the keys. My code gets two random values, that part works well. But when it comes to p hash[m], I expected it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题