Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > new to python and programming at large

Reply
Thread Tools

new to python and programming at large

 
 
kwakukwatiah@gmail.com
Guest
Posts: n/a
 
      01-09-2013
pls I want to write a function that can compute for the sqrt root of any number.bt it not working pls help.
from math import sqrt
def squareroot(self):
x = sqrt(y)
print x
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: new to python and programming at large. kwakukwatiah@gmail.com Python 0 01-10-2013 02:45 AM
new to python and programming at large. John Gordon Python 1 01-09-2013 10:28 PM
new to python and programming at large Ulrich Eckhardt Python 1 01-09-2013 09:05 PM
Re: new to python and programming at large. Dave Angel Python 0 01-09-2013 06:00 PM
Re: new to python and programming at large Chris Angelico Python 1 01-09-2013 03:43 PM



Advertisments