import RPi.GPIO as GPIO
import time
import sys
ledPin = 21
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT)

x = 1
while x == 1:
    var = raw_input("On or Off? Please enter: ")
    if var == "On":
        GPIO.output(ledPin, GPIO.HIGH)
        print("The LED is now " + var + "! Type 'Exit' to close program.")
    elif var == "Off":
        GPIO.output(ledPin, GPIO.LOW)
        print("The LED is now " + var + "! Type 'Exit' to close program.")
    elif var == "Exit":
        sys.exit()
    else:
        print("Please enter either 'On' or 'Off'.")

            

deff7234439f494a5cd64ac7430ebf5f99ad4349
<mask token>

<mask token>
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT)
<mask token>
while x == 1:
    var = raw_input('On or Off? Please enter: ')
    if var == 'On':
        GPIO.output(ledPin, GPIO.HIGH)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Off':
        GPIO.output(ledPin, GPIO.LOW)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Exit':
        sys.exit()
    else:
        print("Please enter either 'On' or 'Off'.")

<mask token>
ledPin = 21
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT)
x = 1
while x == 1:
    var = raw_input('On or Off? Please enter: ')
    if var == 'On':
        GPIO.output(ledPin, GPIO.HIGH)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Off':
        GPIO.output(ledPin, GPIO.LOW)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Exit':
        sys.exit()
    else:
        print("Please enter either 'On' or 'Off'.")

import RPi.GPIO as GPIO
import time
import sys
ledPin = 21
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT)
x = 1
while x == 1:
    var = raw_input('On or Off? Please enter: ')
    if var == 'On':
        GPIO.output(ledPin, GPIO.HIGH)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Off':
        GPIO.output(ledPin, GPIO.LOW)
        print('The LED is now ' + var + "! Type 'Exit' to close program.")
    elif var == 'Exit':
        sys.exit()
    else:
        print("Please enter either 'On' or 'Off'.")

import RPi.GPIO as GPIO
import time
import sys
ledPin = 21
GPIO.setmode(GPIO.BCM)
GPIO.setup(ledPin, GPIO.OUT)

x = 1
while x == 1:
    var = raw_input("On or Off? Please enter: ")
    if var == "On":
        GPIO.output(ledPin, GPIO.HIGH)
        print("The LED is now " + var + "! Type 'Exit' to close program.")
    elif var == "Off":
        GPIO.output(ledPin, GPIO.LOW)
        print("The LED is now " + var + "! Type 'Exit' to close program.")
    elif var == "Exit":
        sys.exit()
    else:
        print("Please enter either 'On' or 'Off'.")

            
