Next we will talk about the string membership based and using this test.
We can test you for substring exists within a string or not using the keyword in.
So here we have a variable a which is a string.
Let us know best if the character B is present in this particular variable E.
And for that let's type B in.
In this expression is going to return a boolean value that is either a true or false so B is that in
the variable e.
Similarly we have another operator not in which it returns true if it does not find a character or a
substring in the string in a string or a sequence.
Let's say searching for the characters a B B may have been e so NATO's exhibit and this it returns true.
Now if we use d operator not in a and then execute it you'd return false because because these three
characters are present in debatable E string operators are used to validate the membership of a value
in a particular sequence.