from machine import Pin
from time import sleep
ledrouge = Pin( 15 , Pin.OUT)
ledjaune = Pin( 4 , Pin.OUT)
ledverte = Pin( 2 , Pin.OUT)
for i in range (3):
    ledrouge.on()
    sleep(1)
    ledrouge.off()
    sleep(1)
    ledjaune.on()
    sleep(1)
    ledjaune.off()
    sleep(1)
    ledverte.on()
    sleep(1)
    ledverte.off()
    sleep(1)