Could anyone tell me how this line of code is working:

filter(lambda x: x in string.letters, text)

I understand that it's filtering the contents of the variable text and I know that lambda is a kind of embedded function.

What I'd like to know is how it would be written if it was a normal function.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to