Why is "parameters" is not defined : I am following the tutorial at https://www.dataquest.io/blog/python-api-tutorial/. It is saying that "parameters" is not defined.  the URL has params=parameters, I have used both in the coding and still getting error. Not sure how to correct it. 

This is the code:

 <code>
import requests
import json

response = requests.get("http://api.open-notify.org/astros.json")
response = requests.get("http://api.open-notify.org/iss-pass.json", params=parameters)

def jprint(obj):
        # create a formatted string of the Python JSON object
        text = json.dumps(obj, sort_keys=True, indent=4)
        print(text)
        
parameters = {
    "lat":27.8006,
    "lon":97.3864
}

jprint(response.json())
</code>