Thanks for the explanation - very clear.
Cheers,
Bodsda
Sent from my BlackBerry® wireless device
-Original Message-
From: Steven D'Aprano
Sender: tutor-bounces+bodsda=googlemail@python.org
Date: Fri, 16 Sep 2011 20:43:45
To: Tutor - python List
Subject: Re: [Tutor] If stat
bod...@googlemail.com wrote:
Hi,
In a normal if,elif,elif,...,else statement, are the conditions checked in a
linear fashion?
Yes.
I am wondering if I should be making an effort to put the most likely true
condition at the beginning of the block
Probably not. The amount of time used in
Hi,
In a normal if,elif,elif,...,else statement, are the conditions checked in a
linear fashion?
I am wondering if I should be making an effort to put the most likely true
condition at the beginning of the block
Thanks,
Bodsda
Sent from my BlackBerry® wireless device
_