On Mon, Oct 13, 2008 at 2:29 PM, aditya shukla
<adityashukla19 83@gmail.comwro te:
I would start here http://docs.python.org/library/random.html you are
likely interested in choice or sample.
--
Stand Fast,
tjg. [Timothy Grant]
<adityashukla19 83@gmail.comwro te:
Hello folks,
>
i have a list say list1=[a,b,c,...z] ie 26 elements i have to take 5
elements from it randomly and save in another list.Please explain how to do
this?
>
>
Aditya
>
--
>
>
>
i have a list say list1=[a,b,c,...z] ie 26 elements i have to take 5
elements from it randomly and save in another list.Please explain how to do
this?
>
>
Aditya
>
--
>
>
I would start here http://docs.python.org/library/random.html you are
likely interested in choice or sample.
--
Stand Fast,
tjg. [Timothy Grant]