![](https://danielcaraballo.es/wp-content/uploads/2022/12/serpientepin-1.png)
AND EN PYTHON OPERADOR LOGICO
And en Python compara dos operandos si son verdaderos
devuelve el valor true si los dos son true (verdaderos)
Ejemplo de código fuente de and:
AND SOBRE TRUE Y FALSE
>>># TRUE
>>>boleano1= True
>>>bolaeno2= True
>>>print («\n», boleano1 and bolaeno2)
Ahora false
>>># FALSE
>>>boleano1= True
>>>bolaeno2= False
>>>print («\n», boleano1 and bolaeno2,»\n»)
>>>input («Presiona enter para continuar»)
![](https://danielcaraballo.es/wp-content/uploads/2022/12/serpientepin-1-75x75.png)
![](https://danielcaraballo.es/wp-content/uploads/2022/12/serpientepin-1-75x75.png)