Re: New to python and programming

2017-05-18 Thread Grant Edwards
On 2017-05-17, BT wrote: > I am fairly new to programming. I was just trying to understand how > this group works. Am i allowed to ask any questions that I may have > when i get stuck? Certainly. For best results, post small pieces of code that demonstrate your problem/question (cut and paste f

Re: New to python and programming

2017-05-18 Thread breamoreboy
On Wednesday, May 17, 2017 at 9:00:08 PM UTC+1, BT wrote: > Hi guys, > I am fairly new to programming. I was just trying to understand how this > group works. Am i allowed to ask any questions that I may have when i get > stuck? I mean is this group for new programmers as well..? > Thanks You ca

Re: New to python and programming

2017-05-17 Thread Ray Cote
On Wed, May 17, 2017 at 4:43 PM, justin walters wrote: > On Wed, May 17, 2017 at 12:59 PM, BT wrote: > > > Hi guys, > > I am fairly new to programming. I was just trying to understand how this > > group works. Am i allowed to ask any questions that I may have when i get > > stuck? I mean is this

Re: New to python and programming

2017-05-17 Thread Ben Bacarisse
BT writes: > I am fairly new to programming. I was just trying to understand how > this group works. Am i allowed to ask any questions that I may have > when i get stuck? I mean is this group for new programmers as well..? Welcome. Yes, it's for pretty much any questions about Python programmin

Re: New to python and programming

2017-05-17 Thread Chris Angelico
On Thu, May 18, 2017 at 5:59 AM, BT wrote: > I am fairly new to programming. I was just trying to understand how this > group works. Am i allowed to ask any questions that I may have when i get > stuck? I mean is this group for new programmers as well..? > Hi! Yes, it is, but if you're really R

Re: New to python and programming

2017-05-17 Thread justin walters
On Wed, May 17, 2017 at 12:59 PM, BT wrote: > Hi guys, > I am fairly new to programming. I was just trying to understand how this > group works. Am i allowed to ask any questions that I may have when i get > stuck? I mean is this group for new programmers as well..? > Thanks > -- > https://mail.p

New to python and programming

2017-05-17 Thread BT
Hi guys, I am fairly new to programming. I was just trying to understand how this group works. Am i allowed to ask any questions that I may have when i get stuck? I mean is this group for new programmers as well..? Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: new to python and programming at large.

2013-01-09 Thread Michael Torrie
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

Re: new to python and programming at large.

2013-01-09 Thread kwakukwatiah
-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

Re: new to python and programming at large.

2013-01-09 Thread Dave Angel
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:') >

Re: new to python and programming at large.

2013-01-09 Thread John Gordon
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): >

new to python and programming at large.

2013-01-09 Thread kwakukwatiah
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

RE: new to python and programming at large

2013-01-09 Thread Adrian Espinosa Moreno
: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

Re: new to python and programming at large

2013-01-09 Thread Ulrich Eckhardt
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

Re: new to python and programming at large

2013-01-09 Thread Chris Angelico
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

Re: new to python and programming at large

2013-01-09 Thread Alister
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

Re: new to python and programming at large

2013-01-09 Thread Chris Angelico
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

new to python and programming at large

2013-01-09 Thread kwakukwatiah
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

new to python and programming at large

2013-01-09 Thread kwakukwatiah
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