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