"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
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
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