from machine import Pin 
from time import Sleep
Print("LED with Button")
led=Pin(3,Pin.OUT)
Push_button=Pin(16,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