import time
from machine import Pin
time.sleep(0.1) # Wait for USB to become ready
led=Pin("LED",Pin.OUT)
a=0
while a!=3:
a=int(input("Pon un numero entre 1 y 3"))
if(a==1):
led.on()
if(a==2)
led:off()
if(a>3):
print("Error, te he pedido un numero del 1 al 3")