title: Python requests accessing index of response object
body: <p>I'm new to python and trying to practice aggregating data from an api call</p>
  
  <p>i have this script</p>
  
  <pre><code>r = requests.get('https://jsonplaceholder.typicode.com/users')
  
  print r.text
  </code></pre>
  
  <p>which returns an array of objects in this format</p>
  
  <pre><code>  [{
      "id": 1,
      "name": "Leanne Graham",
      "username": "Bret",
      "email": "Sincere@april.biz",
      "address": {
        "street": "Kulas Light",
        "suite": "Apt. 556",
        "city": "Gwenborough",
        "zipcode": "92998-3874",
        "geo": {
          "lat": "-37.3159",
          "lng": "81.1496"
        }
     }]
  </code></pre>
  
  <p>I've been playing around and tried this to see if I can access the first object</p>
  
  <pre><code>print r.text[0]
  </code></pre>
  
  <p>And it didn't work. So how do I do this with python</p>