title: How to remove and return element in python list
body: <p>In python you can do list.pop(i) which removes and returns the element in index i, but is there a built in function like list.remove(e) where it removes and returns the first element equal to e?</p>
  
  <p>Thanks</p>