On 23/12/11 16:58, Joaquim Santos wrote:
Thanks for all the tips so far. The maketrans like suggested probably
would be faster but I didn't knew about it
That's exactly the point.
Very few people know about maketrans before they take the Python Challenge.
But that's the whole point of the challenge, as you go through it you
will discover new and powerful tools in the Python library that save you
from having to invent your own. (Look out for the hints and pointers in
the challenge!)
If you try to complete the Python challenge without using new modules
you will have a very long project in front of you!!
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor