[Edu-sig] project Euler

michel paul mpaul213 at gmail.com
Thu Feb 12 02:37:23 CET 2009


This is a pretty cool site:  Project Euler <http://projecteuler.net/>.

It's a list of problems that can't be solved using mathematical cleverness
alone - they require programming.  After you solve a problem, you then get
access to the list of previous solutions.

The first one - "Add all the natural numbers below one thousand that are
multiples of 3 or 5." - is just a Python one-liner.

The second - "Find the sum of all the even-valued terms in the Fibonacci
sequence which do not exceed four million."

It's fun looking at the previous solutions in all kinds of other languages.
Really shows the elegance of Python.

It reminds me somewhat of JavaBat <http://javabat.com>.  There was some
discussion earlier about doing something similar in Python?

- Michel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20090211/fe4d85ee/attachment.htm>


More information about the Edu-sig mailing list