name the membership operator used in python
Share
name the membership operator used in python
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Two membership operators exist in Python: in – evaluates to True if the value in the left operand appears in the sequence found in the right operand. For example, 'Hello' in 'Hello world' returns True because the substring Hello is present in the string Hello world!.
Answer:
the two membership operators in python are
in and not in
Explanation: