title: How can I remove html tag with Python?
body: <p>My code is working. But the only thing it's also returning the HTML tags. Is there anything I can add to my FOR loop to strip the HTML code?</p>
  
  <p>Here's my code below.</p>
  
  <pre class="lang-py prettyprint-override"><code>addressNeeded = soup.find("h1", {"style": "font-size: inherit; font-weight: inherit;"})
  for x in addressNeeded:
      addressList.append(x)
  </code></pre>
  
  <p>the outcome is:</p>
  
  <pre><code>['\n', &lt;label class="summary-list__label"&gt;
  &lt;span itemprop="streetAddress"&gt;95 Cooks Drive&lt;/span&gt;
  &lt;/label&gt;, '\n', &lt;span class="summary-list__label summary-list__label--small"&gt;
  &lt;span itemprop="addressLocality"&gt;Westside&lt;/span&gt;,
                      &lt;span itemprop="addressRegion"&gt;NY&lt;/span&gt;
  &lt;span itemprop="postalCode"&gt;07663&lt;/span&gt;
  </code></pre>
  
  <p>I thank you in advance!</p>