import machine
from machine import Pin
ledRosa = Pin(1, Pin.OUT)
E1=Pin(4, Pin.IN, Pin.PULL_UP)
E2=Pin(5, Pin.IN, Pin.PULL_UP)
E3=Pin(6, Pin.IN, Pin.PULL_UP)
while True:
A= E1.value()
B= E2.value()
C= E3.value()
producto = (A and B and C)
ledRosa.value(producto)