Learn Python
WIP Advanced Python
8.3
Lesson

WIP - Membership Operators

Membership operators are used to checking whether a value is present in the string/sequence/list/tuple or not. The two membership operators are in and not in are explained in the below table.

Operation Operators Result Description
To check the presence in TRUE If a value is present in the sequence
To check the presence not in TRUE If a value is not present in the sequence