RosettaCodeData/Task/Knuth-shuffle/PowerShell/knuth-shuffle-1.psh

3 lines
49 B
Text
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
$A = 1, 2, 3, 4, 5
Get-Random $A -Count $A.Count