substitute for c/java's ?:

Jochen Riekhof jochen at riekhof.de
Thu Jun 14 11:35:24 EDT 2001


> if string.lower(name[0]) in 'aeiou':

Yep, a bit cleaner and better performance with long strings.

Ciao

...Jochen






More information about the Python-list mailing list