beautifulsoup Elemento de eliminación

# delete scripts using beautifulsoup

for script in soup.select('script'):
  script.decompose()
Mhmd