new to python and programming at large.

kwakukwatiah at gmail.com kwakukwatiah at gmail.com
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)


thnx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130109/234f0a0d/attachment.html>


More information about the Python-list mailing list