The GPIO pins let the Pi control electronics. Connect an LED with a 330 ohm resistor between GPIO17 and a ground pin. The gpiozero library comes pre-installed.
# blink.py -> run with: python3 blink.py from gpiozero import LED from signal import pause led = LED(17) led.blink(on_time=0.5, off_time=0.5) pause()