Need help (Basic python)...what did I do wrong?

Antoine De Groote antoine at vo.lu
Sat Oct 28 06:37:20 EDT 2006


frankie_85 wrote:
> Hi everyone,
> 
> I just made a simple code which is part of my assignment but I can't
> figure it out what's wrong with it. (always give me error messages)
> 
> What the code basically does is:
> 
> a function that takes one floating point number x as its argument and
> returns (the square root of the absolute value of x) plus (5 times x
> cubed).
> 

You also may want to review what (the) return (keyword) really means. 
Hopefully this will point you to the other problem in your code. ;-)



More information about the Python-list mailing list