Thanks for some of the helps guys. 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? Once again thanks for all your help -- http://mail.python.org/mailman/listinfo/python-list