is Operator in Python
a = 20
b = 20
if (a is b):
print('Id of a and b are same : a id : ',id(a),' b id : ',id(b))
else:
print('Id of a and b are not same : a id : ',id(a),' b id : ',id(b)))
Output :

Scripting is sorcery
is Operator in Python
a = 20
b = 20
if (a is b):
print('Id of a and b are same : a id : ',id(a),' b id : ',id(b))
else:
print('Id of a and b are not same : a id : ',id(a),' b id : ',id(b)))
Output :
