Problem using Random

Jeremy Whetzel lists at toadmail.com
Sun Oct 28 14:11:27 EST 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