from machine import Pin
import time

red = Pin(0, Pin.OUT)
yellow = Pin(7, Pin.OUT)
green = Pin(14, Pin.OUT)

for i in range (3):
    red.toggle()
    time.sleep(2)
    red.toggle()
    yellow.toggle()
    time.sleep(2)
    yellow.toggle()
    green.toggle()
    time.sleep(2)
    green.toggle()

for i in range (10):
    red.toggle()
    yellow.toggle()
    green.toggle()
    time.sleep(0.5)

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT