new to python and programming at large

Discussion in 'Python' started by kwakukwatiah@gmail.com, Jan 9, 2013.

  1. Guest

    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
     
    , Jan 9, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ulrich Eckhardt

    new to python and programming at large

    Ulrich Eckhardt, Jan 9, 2013, in forum: Python
    Replies:
    1
    Views:
    148
  2. Chris Angelico

    Re: new to python and programming at large

    Chris Angelico, Jan 9, 2013, in forum: Python
    Replies:
    1
    Views:
    159
    Chris Angelico
    Jan 9, 2013
  3. John Gordon

    new to python and programming at large.

    John Gordon, Jan 9, 2013, in forum: Python
    Replies:
    1
    Views:
    172
  4. Dave Angel
    Replies:
    0
    Views:
    118
    Dave Angel
    Jan 9, 2013
  5. Replies:
    0
    Views:
    154
Loading...

Share This Page