[Tutor] Python challenges

Chris Smith smichr at bigfoot.com
Fri May 6 15:43:59 CEST 2005


On Thursday, May 5, 2005, at 19:33 America/Chicago, 
tutor-request at python.org wrote:

> Anyone have a gentle hint, or pointer to another 'beginner' tutorial
> to regular expressions?
>
> Thanks! I dont want to get stuck here in the riddles!
>

How about counting how many times each character is used and look for 
the ones that are used infrequently (like only once). Dictionaries can 
do this.

/c



More information about the Tutor mailing list