Example of comparision operator is followiing:
a=20
b=20
if(a is b):
print("A and B have same ID")
else:
print("A and B have different id")
b=30
if(a is b):
print("A and B have same ID")
else:
print("A and B have different ID")
if(a is not b):
print("A and B have different ID")
else:
print("A and B have same id")
En esta página del sitio puede ver el video en línea Identity operator in python de Duración hora minuto segunda en buena calidad , que subió el usuario PyPro Learning 07 julio 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 31 veces y le gustó 2 a los espectadores. Disfruta viendo!