new to python and programming at large.

kwakukwatiah at kwakukwatiah at
Wed Jan 9 23:28:04 CET 2013

thanks for ur help I wz able to do it.but I wish to expand it by asking a user to input a number for the sqrt to be calculated it I dd it this way but its not working.

from math import sqrt
number = raw_input('enter a number:')
def number(y):
    return number(Y)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list