Question: With this python/JSON code please add a variable which I can change according to the api. Please have name or picture something in the api

With this python/JSON code please add a variable which I can change according to the api. Please have name or picture something in the api provided etc. https://reqres.in/api/users?page=2

With this python/JSON code please add a variable which I can change

In [1]: Nimport requests In [6]: Nresult=requests.get('https://regres.in/api/users?page=2') In [3]: N result.status_code Out[3]: 200 In [3]: Nresult.text Name Error Traceback (most recent call last) in ----> 1 result. text NameError: name 'result' is not defined In [4]: Nresult.json()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!