Selecting random elements from a list.

aditya shukla adityashukla1983 at
Mon Oct 13 23:29:49 CEST 2008

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list