from machine import Pin
from time import sleep
led1 =Pin(4,Pin.OUT)
led2=Pin(2,Pin.OUT)
led3=Pin(5,Pin.OUT)
while True:
led1.on()
sleep(2)
led1.off()
sleep(0)
led2.on()
sleep(1)
led2.off()
sleep(0)
led3.on()
sleep(3)
led3.off()
sleep(0)