On 01/09/2013 07:45 PM, kwakukwat...@gmail.com wrote:
> thanks so much it worked.I have tried and tried.look at what I was doing.
> me = raw_input("Enter a value:")
> from math import sqrt
> def squareroot(y):
>
> me = squareroot(y)
> return squareroot(y)
Congratulations! You've just cre
-Original Message-
From: Dave Angel
Sent: Wednesday, January 09, 2013 12:00 PM
To: python-list@python.org
Subject: Re: new to python and programming at large.
On 01/09/2013 05:28 PM, kwakukwat...@gmail.com wrote:
thanks for ur help I wz able to do it.but I wish to expand it by asking
On 01/09/2013 05:28 PM, kwakukwat...@gmail.com wrote:
> 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:')
>
In kwakukwat...@gmail.com
writes:
> 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):
>
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--
http://mail.python.or
:06
Para: python-list@python.org
Asunto: new to python and programming at large
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
Am 09.01.2013 22:05, schrieb kwakukwat...@gmail.com:
pls I want to write a function that can compute for the sqrt root of
any number.bt it not working pls help.
Whenever describing an error, be precise. In this particular case, we
have some sourcecode (which is good!) but what is still missin
On Thu, Jan 10, 2013 at 2:38 AM, Alister wrote:
> On Thu, 10 Jan 2013 02:18:11 +1100, Chris Angelico wrote:
>
>> On Thu, Jan 10, 2013 at 8:03 AM, wrote:
>>> 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
On Thu, 10 Jan 2013 02:18:11 +1100, Chris Angelico wrote:
> On Thu, Jan 10, 2013 at 8:03 AM, wrote:
>> 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
On Thu, Jan 10, 2013 at 8:03 AM, wrote:
> 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
The 'self' argument is a convention used in classes. You probab
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--
http://mail.python.org/mailman/listinfo/python-list
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--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo