title: Web Scraping: Can't write multiple paragraphs. Only stuck to one
body: <p>Website: <a href="https://www.osa.ind.in/life-members.php" rel="nofollow noreferrer">https://www.osa.ind.in/life-members.php</a></p>
  
  <p>I am trying to write each and every paragraph of this page to a .csv file using:</p>
  
  <pre><code>x = []
  for text in soup.tr.stripped_strings:
      row = []
      for i in soup.p.stripped_strings:
          row.append(i)
      x.append(row)
  
  with open('sample.csv', 'a', newline='', encoding='utf-8') as file:
      writer = csv.writer(file)
      writer.writerows(x)
  </code></pre>
  
  <p>Output:</p>
  
  <p><img src="https://i.stack.imgur.com/1AAra.jpg" alt="1"></p>
  
  <p>I want to store all the information in form of a table.</p>
  
  <pre><code>soup.find('p').get_text()    ##doesn't help
  </code></pre>
  
  <p>Thanks in advance.</p>