Problem using Random

Jeremy Whetzel lists at toadmail.com
Sun Oct 28 20:11:27 CET 2001


Martin von Loewis <loewis at informatik.hu-berlin.de> writes:

> My recommendation would be
> 
> mylist = ['a','b','c','d','e','f']
> random.shuffle(mylist)
> for i in mylist:
>   print i

Thank you!  This is perfect!

Jeremy



More information about the Python-list mailing list