Robotics & Artificial Intelligence

Which of the following is a membership operator?

  1. and
  2. or
  3. in
  4. None of these

Getting Started

2 Likes

Answer

in

Reason — The in operator is a membership operator used in Python to check whether a value exists in a sequence such as a string, list, or tuple.

Answered By

2 Likes


Related Questions