[Edu-sig] project Euler
Steven Bird
sb at csse.unimelb.edu.au
Fri Feb 13 03:39:34 CET 2009
2009/2/13 kirby urner <kirby.urner at gmail.com>:
>> Sum of multiples of three (3-999), plus multiples of five (5-995),
>> minus multiples of 15 (15-990). No programming required.
>>
>
> Getting this as one line in Python would be a fun challenge though.
Maybe. However, considering their educational value, I think the
problems are unmotivated and the result of doing any problem is almost
useless. I think newcomers to programming find externally-motivated
problems more compelling, especially when the solution is elegant and
not bogged down in housekeeping or corner cases.
-Steven Bird
More information about the Edu-sig
mailing list