text: import atexit
  import time
  
  from RPi import GPIO
  
  pins = [27]
  
  def turn_off():
      for pin in pins:
          GPIO.output(pin, GPIO.LOW)
      GPIO.cleanup()
  
  # Means use the pins as they are on the cobbler
  # GPIO.BOARD means in order numbering
  def setup():
      GPIO.setmode(GPIO.BCM)
      for pin in pins:
          GPIO.setup(pin, GPIO.OUT)
      atexit.register(turn_off)
  
  def main():
      toggle = True
      while True:
          mode = GPIO.HIGH and toggle or GPIO.LOW
          for pin in pins:
              GPIO.output(pin, mode)
          time.sleep(2)
          toggle = not toggle
  
  
  if __name__ == "__main__":
      setup()
      main()
  