title: Removing an entry from a list (class[function])
body: <p>I'm using a class which has a function with the following code:</p>
  
  <pre><code>#delete the specified entry from the list if entry in list
  def deleteEntry(self,entry):
      if entered in self.alist():
      remove.entered()
  </code></pre>
  
  <p>alist first asks the user for inputs.
  How would you write a function that removes an entry from the list if it is in the list?
  Thanks !
  Using Python 3.3.1 BTW !</p>