from machine import Pin
from utime import sleep

LED1=Pin(0,Pin.OUT)
LED2=Pin(1,Pin.OUT)

while True:
    LED1.value(1)
    LED2.value(0)
    sleep(0.5)
    LED1.value(0)
    LED2.value(1)
    sleep(0.5)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT