Basically, is returns true when 2 operands are true.Example:if 2 is 2: print('Yes')output:Yes
Example:
if 2 is 2:
print('Yes')
output:
Yes