[EMAIL PROTECTED] wrote:
What is the python equivalent of the following statement?

while (n--)

Thank you.

That depends on a number of things, including whether "n" is declared as "volatile", and whether you consider the above as an executable piece of code (it is not), or just a code snippet...

Roughly but somewhat facetiously speaking, the answer is this:

n = -1

(Maybe describing what you are trying to accomplish would
be more useful than showing snippets of code without
explaining what you are expecting it to do.)

-Peter
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to