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  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to