[Tutor] Finding all the letters in a string?

Alan Gauld alan.gauld at btinternet.com
Tue Sep 18 10:08:38 CEST 2007


"Andrew Nelsen" <sxkorean at gmail.com> wrote

> But I was guessing there was an easier way (There was.). I'm 
> actually
> working through this one site called http://www.pythonchallenge.com. 
> Seems
> like a nifty way to learn a little more python.

If you are doing the challenge then take a look at the translate 
technique
that Kent mentioned! It might ccome in handy later...

Alan G. 




More information about the Tutor mailing list