title: Returns only one value when trying to add scraped data to the list, Python
body: <p>I'm trying to scrape data from websites and first portion of my code seems to work.
  However, when I try to add that data to the list it returns only one value from the <strong>scraped</strong> data.
  I thought maybe it's recognized as a string, tried separators, didn't work.
  Please help!</p>
  <p>I used Goodgle Colab</p>
  <p>Thanks in advance!</p>
  <pre><code>import requests
  from bs4 import BeautifulSoup
  url = &quot;https://athletics.baruch.cuny.edu/sports/mens-swimming-and-diving/roster&quot;
  page = requests.get(url)
  
  page.content  ##content of classes, for the problem we need &quot;sidearm-roster-player-height&quot; class
  soup = BeautifulSoup(page.content, &quot;html.parser&quot;)
  height_swimmers = soup.findAll('span', class_ = 'sidearm-roster-player-height')
  print(height_swimmers)
  
  for text in height_swimmers:
    height = text.get_text()
    print(height)
  height_list = []
  height_list.append(height)
  
  print(height_list)
  </code></pre>