title: How to scrape a website for multiple values that need to be ordered
body: <p>Im trying to scrape results of NHL games using beautifulsoup, but I am having trouble figuring out how to get the dates when the games were played and the results in order. Dates of the games are under  tags and results are in class "field-content". Currently I am able to find both of the values and place them in independent variables but I would like to keep the order they appear in the original website and place the data in a single variable.</p>
  
  <pre><code>import bs4 as bs
  import urllib.request
  
  sauce = urllib.request.urlopen("https://www.jatkoaika.com/nhl/ottelut").read()
  
  soup = bs.BeautifulSoup(sauce, features="html.parser")
  
  dates = str(soup.find_all("h3"))
  dates = dates.replace("&lt;h3&gt;", "").replace("&lt;/h3&gt;", "")
  
  games = str(soup.find_all("span", {"class": "field-content"}))
  games = games.replace('&lt;span class="field-content"&gt;', "").replace("&lt;/span&gt;", "")
  </code></pre>