I might go with: (a, b, c) orin something And (a, b, c) andin something But really, not needed. -CHB On Tue, Dec 31, 2019 at 3:25 PM Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
if a or b or c is in x:
if a and b and c are in x:
-- Greg _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KJSHAZ... Code of Conduct: http://python.org/psf/codeofconduct/
-- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython