import RPi.GPIO as GPIO
import time
print("helloo")
button=17
GPIO.setmode(GPIO.BCM)
GPIO.setup(button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
while True:
if(GPIO.input(button==0)):
print("devre çalişmir")
if(GPIO.input(button==1)):
print("devre akio")
time.sleep(1)
GPIO.cleanup()