Duncan Booth <[EMAIL PROTECTED]> writes:

> Or you could make it even clearer by using a loop:

Oops.  Should have read your message before replying to Mirco.  But again,
since the OP didn't read the docs for string operations I tried the terse
approach so that he actually sees the correspondence from Perl to Python. 

Dictionaries (and hashes in Perl) are very powerful and solve very interesting
problems (specially when one is looking for something like a "case"
implementation in Python). 


-- 
Jorge Godoy      <[EMAIL PROTECTED]>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to