title: IndexError: list assignment index out of range [python + selenium]
body: <pre><code>lin_count = len(driver.find_elements_by_xpath("/html/body/div/table/tbody/tr"))
  
  nomes = [lin_count]
  for x in range(1, lin_count):
      nomes[x] = (driver.find_element_by_xpath("/html/body/div/table/tbody/tr["+str(x)+"]/td[2]").text)
  
  driver.close()
  </code></pre>
  
  <p>OUT: IndexError: list assignment index out of range</p>