On 24/10/2013 21:02, Skybuck Flying wrote:
Because it's logical.

If the exit condition was placed on the top, the loop would exit
immediatly.

Instead the desired behaviour might be to execute the code inside the
loop first and then exit.

Thus seperating logic into enter and exit conditions makes sense.

Bye,
  Skybuck.

Are you replying to Her Majesty the Queen, President Obama or whom? What context is this in?

--
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to