title: Removing number from list of numbers
body: <p>I am trying to remove a number from a list of numbers but for the life of me I just can't make it work.</p>
  <p>I tried using list.remove() method and .pop() but it is some how not working. largest is a function which returns the largest number in the list. I made a copy of the list as part of the question requirement is for the list not to be mutated. When i tried printing the bList i get None.</p>
  <p>I also tried using .pop() by introducing a variable index = c.index(l) and the use the c.pop(index) that didn't work too.</p>
  <pre><code>def largest(aList):
      theLargest = aList[0]
      for i in range(1, len(aList)):
          if theLargest &lt; aList[i]:
              theLargest = aList[i]
      return theLargest
  
  def main():
      aList = [2,5,1,6]
      c = aList.copy()
      l = largest(c)
      bList = c.remove(l)
      print(bList)
  main()
  ```
  </code></pre>