Steven D'Aprano <[EMAIL PROTECTED]> writes:

[snap]

> new_text = ""
> for word in text:
>     new_text = new_text + process(word)

new_text = "".join(map(process, text))

(I couldn't resist)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to