[Tutor] lambdas, generators, and the like
Keith Winston
keithwins at gmail.com
Sun Jan 12 11:03:52 CET 2014
On Sun, Jan 12, 2014 at 4:19 AM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> lambdas are just a shortcut for single expression functions.
> You never need them, they just tidy up the code a bit by
> avoiding lots of use-once short functions.
Thanks, I figured out how to iterate the combinations function. I'll
play with lambda functions some other time. I've been cranking away on
the Project Euler stuff, it's great fun, good Python practice...
--
Keith
More information about the Tutor
mailing list