title: How can I divide the values one by one in python?
body: <pre><code>import requests
  import json
  from bs4 import BeautifulSoup
  
  headers = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36'}
  url = 'https://olympics.com/tokyo-2020/olympic-games/ko/results/all-sports/medal-standings.htm'
  res = requests.get(url, headers = headers)
  soup = BeautifulSoup(res.content, 'html.parser')
  data = soup.select('td.text-center')
  
  for item in data:
      text = item.get_text().replace(' ', '')
      print(text)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/A616L.png" rel="nofollow noreferrer">Result Picture</a></p>
  <p>I was crawling Tokyo Olympic medal standings, How can I change this like array(or list)?</p>