a 'case' statement?

Jon Perez jbperez808 at yahoo.com
Sat Feb 15 06:42:26 EST 2003


"Aahz" <aahz at pythoncraft.com> wrote:

> Wouldn't you like a nice ternary operator instead?

ROTFLMAO...!!!


"Wouter van Marle" <wouterm at spammers-unite-here.com> writes:

> If the statement is just syntactic sugar for a chain of
> if/elifs then I for one don't see the point.

Imo, one of the things that make Python so much fun to use
is its most EXCELLENT and well-thought out syntactic sugar.






More information about the Python-list mailing list