title: Python Append replacing all elements in list
body: <p>I am confused as to why I can print data and it prints out unique entries but when I go to append previous data in the list is overwritten with the current data record.</p>
  <pre><code>data = {}
  vegetablePlantList = []
  
  while True:
      results = soup.find(&quot;table&quot;, {&quot;id&quot;: &quot;tablestyle&quot;})
      #print(results)
  
      for result in soup.find_all('tr')[1:]:
          tableRows = result.find_all('td')
          #print (&quot;Year: %s, Location: %s, Reactor: %s, Model: %s, GrossMWe: %s&quot;  % \
          #   (tableRows[0].text, tableRows[1].text, tableRows[2].text, tableRows[3].text, tableRows[4].text))
          try:
              int(tableRows[0].text)
              data[&quot;Year&quot;] = tableRows[0].text
              data[&quot;Location&quot;] = tableRows[1].text
              data[&quot;Type&quot;] = tableRows[2].text
              data[&quot;Model&quot;] = tableRows[3].text
              data[&quot;Kilojoules&quot;] = tableRows[4].text
              #print(data)
          except:
              pass
  
          vegetablePlantList.append(data)
  </code></pre>