In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote: > Neil Cerutti wrote: >> On 2006-11-09, Bjoern Schliessmann > >>> if color == red or blue or green: >>> return 'primary' >>> >>>:) > >> The Inform 6* programming language supports the serial 'or' (and >> 'and') and looks just like that. > > Python also supports it.
No it doesn't -- look again at the example given above. It's legal syntax in Python but doesn't have the semantics implied by the example. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list