Re: Taxicab Numbers

2007-12-27 Thread Steven D'Aprano
I hate having to correct myself... On Fri, 28 Dec 2007 02:31:50 +, Steven D'Aprano wrote: > You seem to be treating n as the number to be split into the sum of > cubes, Not quite... in your code, n appears to be the largest number to test. That is, if n is twelve, you test up to 12 cubed.

Re: Taxicab Numbers

2007-12-27 Thread Steven D'Aprano
On Thu, 27 Dec 2007 13:48:36 -0800, rgalgon wrote: > I'm new to Python and have been putting my mind to learning it over my > holiday break. I've been looking over the functional programming aspects > of Python and I'm stuck trying to come up with some concise code to find > Taxicab numbers (http:

Re: Taxicab Numbers

2007-12-27 Thread Paul Hankin
On Dec 27, 9:48 pm, rgalgon <[EMAIL PROTECTED]> wrote: > I'm new to Python and have been putting my mind to learning it over my > holiday break. I've been looking over the functional programming > aspects of Python and I'm stuck trying to come up with some concise > code to find Taxicab numbers (ht

Re: Taxicab Numbers

2007-12-27 Thread Terry Jones
> "rgalgon" == rgalgon <[EMAIL PROTECTED]> writes: rgalgon> I'm new to Python and have been putting my mind to learning it rgalgon> over my holiday break. I've been looking over the functional rgalgon> programming aspects of Python and I'm stuck trying to come up with rgalgon> some concise co