import time
import os
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
pins = [8,10,12,14,18,20,22,24]
for pin in pins:
GPIO.setup(pin, GPIO.OUT)
GPIO.output(10, GPIO.HIGH)
time.sleep(5)
GPIO.output(10, GPIO.LOW)
GPIO.cleanup