Pick random element: Difference between revisions
Content deleted Content added
→{{header|Ruby}}: Removed "choice", Ruby 1.8 support ended in 2013 https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/ |
|||
Line 775:
irb(main):002:0> (1..100).to_a.sample(2)
=> [17, 79]</lang>
=={{header|Run BASIC}}==
|