Return Return with bool value True or False whether b contains in a. Syntax operator.contains()->bool __contain__ Parameters Number or string Import module Importing module is required in the Shell window and the Editor window. Examples The example of method is:
Method(b in a) The method(b in a) returns the same value.
The method returns the same value as operator.contains(a, b).
__contains__ The method tests whether the item contain in set.
Limitation Even though the x and y is equal but it returns with false.
| operators
|