Custom loop in Python : <p>Hi i am trying to scrape a part of a website using python.
here is code/result I want. Scraping multiple pages.</p>

<pre><code>y = 7
print part[y].text
print part[(y*2)+2].text
print part[(y*4)+4].text
print part[(y*6)+6].text
print part[(y*8)+8].text
print part[(y*10)+10].text
</code></pre>

<p>Is there any way to use while loop to get the data?</p>
