title: TypeError: unhashable type: 'slice' using BeautifulSoup
body: <p>I want this code printing out everything except the first element of the for loop. But I get an slice error.</p>
  <pre><code>from bs4 import BeautifulSoup
  import requests
  from openpyxl import Workbook
  
  f = open(r'C:\Users\anilo\Documents\Anilo\Projekte\Python\Verben\Konjugation des Verbs machen _ alle Zeitformen _ Duden.html', 'r', encoding='utf-8')
  html_doc = f.read()
  
  soup = BeautifulSoup(html_doc, 'html.parser')
  
  uls = soup.find_all('ul', class_='accordion__list content-column')[1]
  for li in uls:
      konjugation = li.text
      konjugation_neu = konjugation.replace('1', '')
      print(konjugation_neu)
  </code></pre>
  <p>Output:</p>
  <pre><code>Präteritum
  machte (mich/mir)
  machtest (dich/dir)
  machte (sich)
  machten (uns)
  machtet (euch)
  machten (sich)
  </code></pre>
  <p>The line <code>for li in uls[1:]:</code> results into an error <code>TypeError: unhashable type: 'slice'</code></p>
  <p>Does anybody know how to do the trick without editing too much of my code, because I need this for my interview project.</p>
  <p>Thanks in advance.</p>