title: "time" Invalid Syntax Python
body: <p>Ok so recently been given a Raspberry Pi to tinker with, so after playing with it; installing XBMC, installing Quake 3 arena - I thought I might start making an LED flash.</p>
  
  <p>So I set it all up; turned the LED on and then thought I would take it further and make it blink so below is the code</p>
  
  <pre><code>    import RPi.GPIO as GPIO
      import time
      def blink(pin):
       GPIO.output(pin,GPIO.HIGH
       time.sleep(1)
       GPIO.output(pin,GPIO.LOW)
       time.sleep(1)
              return
          GPIO.setmode(GPIO.BOARD)
          GPIO.setup(7, GPIO.OUT)
          for i in range(0,50):
              blink(7)
              GPIO.cleanup()
  </code></pre>
  
  <p>So when I go to run this it closes and says "Invalid Syntax" and points to the word time so line 5 "time.sleep(1)" it highlights the word "time". I thought this might be a common problem so looking on Google, I find nothing. Anyone have any ideas? perhaps I forgot to install a package; if so which one?</p>
  
  <p>Many thanks,</p>