title: I don't understand functioning of iterating variables (i,j) in this code
body: <p>In following code two iteration variable(i,j in code) are used and print one variable in first sentence of loop and second iterating variable use in those variable..this is used for extracting data from website....I am a beginner in python and did,t understand this code...can someone explain please</p>
  <pre class="lang-py prettyprint-override"><code>for j,i in enumerate(data):
         print(j)
         link = (i.a['href'])
         image = (i.img['data-src'])
         text = (i.find(class_=&quot;gallery-caption-content&quot;).text)
         d = {'link':link,'image':image,'text':text}
         print(d)
  </code></pre>