2009/2/13 kirby urner <[email protected]>: >> 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 _______________________________________________ Edu-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/edu-sig
