how to call api from python, giving syntax error saying - "Invalid syntax". getting error at response variable python version. - 3.6.4 code
import urllib
response = urllib.urlopen('https://api.thingspeak.com/channels/5564409/feeds.json?results=2')
print response.read()