Reverse function python? How to use?

2006-10-29 Thread frankie_85
Ok I'm really lost (I'm new to python) how to use the reverse function. I made a little program which basically the a, b, c, d, e which I have listed below and basically I want it th result to be printed reverse so instead doing "print e, d, c, b, a", I'd like to use the reverse function Can som

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

2006-10-28 Thread frankie_85
Thanks for some of the helps guys. Hmmmafter more trials and errors, I think what I did wrong is along on these lines: a_1 = math.sqrt(math.fabs(a)) + 5((math.pow(a,3))) b_2 = math.sqrt(math.fabs(b)) + 5((math.pow(b,3))) c_3 = math.sqrt(math.fabs(c)) + 5((math.pow(c,3))) d_4 = math.sqrt(math.

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

2006-10-28 Thread frankie_85
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 va