Andrew James wrote:
> I've gone ahead and created a script that does this, however it also 
> strips punctuation. I was originally just comparing each character to a 
> string containing a single space ' ' but even using s[-1].isspace() I 
> lose punctuation marks. Any idea why that's happening?

Hmmm, I seem to have misplaced my glasses of distant screen reading +3 
Australia is a bit far for me to look over you shoulder. Maybe you 
should just post your code here so we can take a look.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to