Pick random element: Difference between revisions
Content deleted Content added
Added an Algol 68 sample |
→{{header|Prolog}}: added |
||
Line 525:
e
</pre>
=={{header|Prolog}}==
{{works with|SWI-Prolog|6}}
<lang prolog>
?- random_member(M, [a, b, c, d, e, f, g, h, i, j]).
M = i.
</lang>
=={{header|PureBasic}}==
|