title: Can someone expalin this small python code?
body: <p>I have already extends the value of <code>fruits1</code> to <code>fruits2</code> i.e: all the element of <code>fruits2</code> should be in the <code>fruits1</code> list.<br>
  When i tried remove the <code>"lemon"</code> with remove method it is showing item is not in the list.</p>
  
  <pre><code>fruits1= ["orange" , "apple"]
  frutits2=["pineapple" , "lemon"]
  fruits1.extends(fruits2)
  fruits1.remove(lemon)
  print(fruits1)
  </code></pre>
  
  <blockquote>
    <p>ValueError: list.remove(x): x not in list</p>
  </blockquote>