Anonymous user
Pick random element: Difference between revisions
→{{header|Mathematica}}
(CoffeeScript) |
|||
Line 179:
</lang>
Selecting term 5 in the list, which was Peter
=={{header|Mathematica}}==
<lang Mathematica>RandomChoice[{a, b, c}]
->c</lang>
=={{header|OCaml}}==
|