frankie_85 wrote: > Hmmm....after 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.fabs(d)) + 5((math.pow(d,3))) > e_5 = math.sqrt(math.fabs(e)) + 5((math.pow(e,3))) > > but I still don't understand though why the variable a, b, c, d, e > becomes an int type even though I have already specified the user input > to be floating point?
hint: besides the variables, what other values are involved in your calculations? do you see any integers among them? </F> -- http://mail.python.org/mailman/listinfo/python-list