Dictionary vs if-elif?
William Dandreta
wjdandreta at worldnet.att.net
Tue Jun 20 20:56:16 EDT 2000
More information about the Python-list mailing list
Tue Jun 20 20:56:16 EDT 2000
- Previous message (by thread): Dictionary vs if-elif?
- Next message (by thread): Dictionary vs if-elif?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Ralf, That looks good , I had not thought of it. Bill >bogusCodes = ( '1.', '31', '90', 'AZ' ...... ) >... >if item in bogusCodes: > do something useful
- Previous message (by thread): Dictionary vs if-elif?
- Next message (by thread): Dictionary vs if-elif?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list