Re: Random List Loop?!
In article <firstname.lastname@example.org>,
Christian Gabriel <email@example.com> wrote:
> I have tried now for ages to make a loop that does the following:
> Makes a new list with 9 random values, from 9 different lists, with 9
> And makes sure that none of the elements repeat!
> Is there anyone that can help, with a very simple solution??
You want random.sample()
|All times are GMT. The time now is 04:55 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.