Write short note on membership operators.
Question :
Write short note on membership operators.
in and not in are membership operators. in operator returns true if a particular sub-string.
not in operator does the exact reverse of in. It returns true if a particular substring s not present in the specified string.