It says: Find the difference between the sum of the squares of the first *
one
hundred* natural numbers and the square of the sum.
You did range(1,111).
On Thu, Apr 24, 2008 at 1:13 PM, kinuthia muchane <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am trying to solve problem 6 on the Project Euler, bu
On Mon, Apr 21, 2008 at 12:07 AM, Alan Gauld <[EMAIL PROTECTED]>
wrote:
>
> >>> pow(20, 0.333)
> 2.7144173455393048
> >>> pow(-20, 0.333)
> Traceback (most recent call last):
> File "", line 1, in
> ValueError: negative number cannot be raised to a fractional power
> >>> -20**0.333
>