I am out of trial and error again Lists

Denis McMahon denismfmcmahon at gmail.com
Fri Oct 24 19:23:42 EDT 2014


On Fri, 24 Oct 2014 17:35:34 -0400, Seymore4Head wrote:

>>But finally, with your telephone number decoder, look at:
>>
>>http://www.codeskulptor.org/#user38_QnR06Upp4AH6h0Q.py
> 
> That is much cleaner than mine.  Nice.
> 
> I did make one more change to mine that makes it easier to read. I
> changed treating all " -()"  With a space.
> I am still thinking about how to treat the large space if it is a digit
> instead:
> 1 800 555     5555

Note that my decoder assumes anything other than a letter can be copied 
straight to the output string.

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list