Here is an image which shows how I connected the led with the pins:
The led is on every time. I am trying to turn off it with this code but it didn't work. Does anyone have an idea why is it still lighted?
from gpiozero import LED
led = LED(18)
led.off()