On Wednesday 06 October 2004 17:18, ldou wrote: > I have a string,e.g. "1245670398", now I want to select two > element from the string randomly, and the two element must > be different, how can I do? Have a look at the Random module from the standard libraries. V.