I am a beginner coder, using python 3.7.1 on a windows 10 with Visual Code Studio.

As exercise I am trying to **scrape** from a webpage some data organized by a table.

Now, I want to extract some information only, which is nested into the
`<td valign="top" style="width:25%;">Parte edibile, %</td><td align="left" valign="top" style="font-weight:bold;">75</td>` values. As delimiter here I have `<td> ... </td>`

I did try many way to get only the first and second of each row, since the third is NOT interesting for me, it is just a waste of memory which I don't need.

To do that, I am using a 'for' loop but as I've understood by BeautifulSoup spreadsheet, when it takes a loop, all nested arguments of each row are united in one and therefore if I want slice [0:1] = >> the first and second "string" arguments `<td> </td>`, is not possible.

Here's the simple loop 'for':

`for alim in soup.find_all('td')[0:1]: return alim.text`

Am I correct? Anyone could propose me some smarter solution to solve my question?

Thank you in advance for any advice.
Max