Pick random element: Difference between revisions
Content deleted Content added
Scala added |
added Falcon |
||
Line 277:
<lang factor>( scratchpad ) { "a" "b" "c" "d" "e" "f" } random .
"a"</lang>
=={{header|Falcon}}==
<lang falcon>
lst = [1, 3, 5, 8, 10]
> randomPick(lst)
</lang>
=={{header|F_Sharp|F#}}==
|