Re: fonction in python

2006-07-04 Thread John Machin
On 4/07/2006 8:06 PM, aliassaf wrote: > Hello, > > If we write = x^2 and if I give to the program the values of x, it will > going to calculate the values of y, and also for x. > > But it is possible ? that is if I give to the program the values of X and Y, > it will indicate to me the rel

Re: fonction in python

2006-07-04 Thread Duncan Smith
Steven D'Aprano wrote: > On Tue, 04 Jul 2006 03:06:37 -0700, aliassaf wrote: > > >>Hello, >> >>If we write = x^2 and if I give to the program the values of x, it will >>going to calculate the values of y, and also for x. >> >>But it is possible ? that is if I give to the program the values

Re: fonction in python

2006-07-04 Thread [EMAIL PROTECTED]
aliassaf wrote: > Hello, > > If we write = x^2 and if I give to the program the values of x, it will > going to calculate the values of y, and also for x. > > But it is possible ? that is if I give to the program the values of X and Y, > it will indicate to me the relation between the two variabl

Re: fonction in python

2006-07-04 Thread Grant Edwards
On 2006-07-04, aliassaf <[EMAIL PROTECTED]> wrote: > But it is possible ? that is if I give to the program the values of X and Y, > it will indicate to me the relation between the two variables, in the other > hand if I look to the program x=2 y=4, x=3 y=9 ect... it is going to show me > that f (t

Re: fonction in python

2006-07-04 Thread Steven D'Aprano
On Tue, 04 Jul 2006 03:06:37 -0700, aliassaf wrote: > > Hello, > > If we write = x^2 and if I give to the program the values of x, it will > going to calculate the values of y, and also for x. > > But it is possible ? that is if I give to the program the values of X and Y, > it will indi

Re: fonction in python

2006-07-04 Thread Georg Brandl
aliassaf wrote: > Hello, > > If we write = x^2 and if I give to the program the values of x, it will > going to calculate the values of y, and also for x. > > But it is possible ? that is if I give to the program the values of X and Y, > it will indicate to me the relation between the two