Pick random element: Difference between revisions

Content deleted Content added
→‎{{header|Elixir}}: range => list
→‎{{header|Powershell}}: add powershell version
Line 603:
e
</pre>
 
=={{header|Powershell}}==
Powershell has Get-Random Cmdlet which one of its overload is to select randomly from a given list
 
<lang Powershell>
1..100 | Get-Random -Count 3
</lang>
 
=={{header|Prolog}}==