from machine import Pin
from time import sleep
led=Pin(14,Pin.OUT)
push button=Pin(13,Pin.IN)
while True:
    logic_state=push_button.value()
    if logic_state==True:
        led.value(1) 
    else:
        led.value(0)

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