How to check for single character change in a string?

Rick Johnson rantingrickjohnson at gmail.com
Sat Dec 24 13:22:52 EST 2011


On Dec 24, 11:09 am, Arnaud Delobelle <arno... at gmail.com> wrote:

> sum(map(str.__ne__, str1, str2))

Mirror, mirror, on the wall. Who's the cleanest of them all?



More information about the Python-list mailing list