|
[Date Index]
[Thread Index]
[Author Index]
Re: Re: Unique List
- To: mathgroup at CHRISTENSEN.CYBERNETICS.NET
- Subject: [mg378] Re: [mg370] Re: [mg358] Unique List
- From: Lou Talman <me at talmanl.mscd.edu>
- Date: Wed, 28 Dec 94 22:05:12 -0700
Here is a nonrecursive solution to the Lotto problem:
l = Table[k, {k, 42}];
m = l; Table[j = Random[Integer, {l, Length[m]}];
k = m[[j]];
m = Delete[m, j]; k,
{6}]
Next by Date:
Re: Re: Suggestions needed for Mathematica course
Next by thread:
Re: Unique List
|