[Tutor] Random list exercise

Chris King g.nius.ck at gmail.com
Fri Sep 10 21:19:43 CEST 2010

  On 9/10/2010 5:22 AM, lists wrote:
>> you could try random.shuffle and save a lot of time, it takes a mutable
>> sequence (like a list) and shuffles it
> Hey there,
> For the few exercises I've been doing, I think the author has been
> attempting to make the reader do things 'the difficult way' so that
> the reader understands how things work. Hopefully the next few
> chapters will introduce me to doing things the easier way lol :-D
> random.shuffle is cool though. I'm really impressed on the sheer
> volume of functions that Python provides to make a programmer's life
> easier!
> Chris
that is pythons biggest feature. they even have modules they will talk 
and translate sound to a string, as easily as raw_input and print. You 
have to download it thou.

More information about the Tutor mailing list