[Tutor] Setting thresholds in a compact way
boB Stepp
robertvstepp at gmail.com
Wed Jan 1 17:27:57 EST 2020
On Wed, Jan 1, 2020 at 2:08 PM Mats Wichmann <mats at wichmann.us> wrote:
> As others have said, I think the if/elif sequence would be fine for
> this, although it will look ugly if you have too many different buckets.
Is there any sensible/better thing to do if one is stuck with a long
sequence of "if" conditions? I seem to recall some discussion on this
topic on the main list, but do not recollect anything gaining a
consensus as to best practice.
HAPPY NEW YEAR TO YOU AND YOURS!!!
--
boB
More information about the Tutor
mailing list