This forum is now read-only. Please use our new forums at discuss.codecademy.com.

556 points
9dc43f543e25585941e241b47bee685f?s=140&d=retro
Submitted by
Konstantinos Evangelidis
about 4 years ago

17/34 I have an error

In my code i have an error but i don't know my error. Can you help me??

from urllib2 import urlopen
from quot3 import urllib

key = "API_KEY"
url = 'http://api.npr.org/query?apiKey='
url += key

url += '&numResults=3&action=Or&requiredAssets=audio&format=Podcast'


1 vote

Best answer

permalink

Line 2 may be the issue.

from urllib import quote

539 points
00bd1daeaffdc475498cb0f9d4b17ba9?s=140&d=retro
Submitted by
humza shakir
about 4 years ago