On Wed, Jul 18, 2012 at 6:09 AM, Steven D'Aprano <[email protected]> wrote: > Alexandre Zani wrote: > >> What you want to write is this: >> >> elif name == "John Cleese" or name == "Michael Palin": > > > elif name in ("John Cleese", "Michael Palin"): > > is better. > > > -- > Steven > > > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor
Better how? _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
