How to match multiple conditions in Python | LabEx

How to match multiple conditions in Python | LabEx