from gpiozero import LED
from time import sleep

# use "pinout" for the pin list
led = LED(18)

while True:
    led.on()
    sleep(1)
    led.off()
    sleep(1)
from gpiozero import LED
from time import sleep

# use "pinout" for the pin list
led = LED(18)

while True:
    led.on()
    sleep(1)
    led.off()
    sleep(1)
# use "pinout" for the pin list