Re: [Tutor] a question about passing values between functions

2006-11-17 Thread Alan Gauld
"kristinn didriksson" <[EMAIL PROTECTED]> wrote > In my understanding, return area in the first routine > makes the value of area an instance of areaCirc No, it simply assigns the value returned by areaCirc to area within . areaCirc assigns 4*(math.pi)*(diameter/2)**2 to its local variable

Re: [Tutor] a question about passing values between functions

2006-11-17 Thread Bob Gailer
kristinn didriksson wrote: > Hello, > I am still wrestling with the concept of values going > between functions. (just starting out)The program > below works seems to work, but here is my question. > In my understanding, return area in the first routine > makes the value of area an instance of area

[Tutor] a question about passing values between functions

2006-11-17 Thread kristinn didriksson
Hello, I am still wrestling with the concept of values going between functions. (just starting out)The program below works seems to work, but here is my question. In my understanding, return area in the first routine makes the value of area an instance of areaCirc and I use areaCirc in the other pr