Python Membership Operator Example


Program
x = ["fresherbell", "tutorial"] y = "fresherbell" print(y in x) print(y not in x)
Input
Output