Archive for October, 2008

Using lambda in Python

SPOILER ALERT: This post contains a solution to Project Euler problem 20.

I gave some more Project Euler a go last week and when I came across problem 20, I knew it was time for me to finally learn how to use closures. I could not find much accessible information for beginners, so I figured I would write up what I discovered. That means it’s time to grab a cup of coffee and put on your theory cap, because this topic needs a bit of explanation. Continue reading ‘Using lambda in Python’