title: python append() and remove html tags
body: <p>I need some help. My output seems wrong. How can I correctly append the values of dept, job_title, job_location. And there are html tags with the values of dept. how can I remove those tags. </p>
  
  <p>my code</p>
  
  <pre><code>response = requests.get("http://hortonworks.com/careers/open-positions/")
  soup = BeautifulSoup(response.text, "html.parser")
  
  jobs = []
  
  
  div_main = soup.select("div#careers_list")
  
  
  for div in div_main:
      dept = div.find_all("h4", class_="department_title")
      div_career = div. find_all("div", class_="career")
      title = []
      location = []
      for dv in div_career:
          job_title = dv.find("div", class_="title").get_text().strip()
          title.append(job_title)
          job_location = dv.find("div", class_="location").get_text().strip()
          location.append(job_location)
  
      job = {
          "job_location": location,
          "job_title": title,
          "job_dept": dept
      }
      jobs.append(job)
  pprint(jobs)
  </code></pre>
  
  <p>It should look like</p>
  
  <p>{'job_dept': Consulting,</p>
  
  <p>'job_location':'Chicago, IL'</p>
  
  <p>'job_title': Sr. Consultant - Central'</p>
  
  <p>1 value for each variables.</p>