"Ara Kooser" <[EMAIL PROTECTED]> wrote

> Is the translation for the above line of code into pseudocode?
> yeast for every yeast in the list yeasts if the yeast method 
> returned isAlive()

Others have given you the solution.
But note that you still have the terminology wrong.

"... the yeast method returned isAlive()"

yeast is an object and isAlive is a method of the object.
The isAlive method returns a value. Thus your sentence
should have said:

... the yeast.isAlive method returned True

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to