Which of the following Python operators is depicted in the given clip?
| Operator | Description |
|---|---|
| is | It returns true, if two variables point the same object and false otherwise. |
| is not | It returns false, if two variables point the same object and true otherwise. |
- (a)Not Operator
- (b)Membership Operator
- (c)Identity Operator
- (d)In Operator
Show SolutionHide Solution↓
Identity Operator
Reason — Python provides two special operators viz. is and is not, which are referred to as the Identity Operators. These operators are used to check whether two values are located at the same memory location or not, and results in True or False accordingly.