Method Name:
element in(set_in)
Method Overview:
The in() method checks whether an element is present in the set.
Parameters:
set_in: The set in which the membership of the element to be checked for.
Return Value:
returns True if the element is present in the python set.
returns False if the element is not present in the python set.
Example:
>>> PrimeNumbers = [2,3,5,7,11,13,17,19] >>> 10 in (PrimeNumbers) False |