title: How to turn a bs4 findall() object into a string
body: <p>Heres my code:</p>
  <pre class="lang-py prettyprint-override"><code>with requests.Session() as s:
        r = s.get(url, headers=headers)
        soup = BeautifulSoup(r.text, 'html.parser')
        sizes = soup.findAll(True,{'class':'product__sizes-size-1'})
  </code></pre>
  <p>I want to turn sizes into a string object instead of a tag so i can complete</p>
  <pre class="lang-py prettyprint-override"><code>parsed_sizes = [item for item in sizes if 1 &lt;= item &lt;= 20]
  </code></pre>
  <p>which requires a string to compare
  Right now priting sizes outputs:</p>
  <pre><code>[&lt;span class=&quot;product__sizes-size-1&quot;&gt;6&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;6.5&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;7&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;7.5&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;8&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;8.5&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;9&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;, &lt;span class=&quot;product__sizes-size-1&quot;&gt;&lt;/span&gt;]
  </code></pre>
  <p>If I do <code>type() </code> i get <code>&lt;class'bs4.element.ResultSet'&gt;</code></p>