LED_PI

import time

import RPi.GPIO as gp

gp.setmode(gp.BCM)

gp.setup(3,gp.OUT)

while True:

    gp.output(3,True)

    print("LED ON")

    time.sleep(1)

    gp.output(3, False)

    print("LED OFF")

    time.sleep(1)