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.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor