from machine import Pin
from time import sleep
led = Pin(2 , Pin.OUT)

for i in range(3):
    led.on()
    sleep(1)
    led.off()
    sleep(1)