title: Unknow reason for invalid syntax
body: <p>I do not understand why I receive an "invalid syntax" error. I did an hour of research with no success. I am running PYTHON 3. Where is the syntax error in this code?</p>
  
  <pre><code>  from urllib.request import urlopen
    import json
  
    request = urlopen("http://api.aerisapi.com/observations/Urbandale,IA?client_id=QD2ToJ2o7MKAX47vrBcsC&amp;client_secret=0968kxX4DWybMkA9GksQREwBlBlC4njZw9jQNqdO")
    response = request.read().decode("utf-8")
    json = json.loads(response)
    if json['success']:
        ob = json['respnose']['ob']
        print ("the current weather in urbandale is %s with a temperature of %d") % (ob['weather'].lower(), ob['tempF']
   else
        print "An error occurred: %s" % (json['error']['description'])
   request().close 
  </code></pre>