Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.038 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'python': 0.09; 'subject:method': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'index': 0.13; 'value.': 0.15; ':-).': 0.16; 'chris,': 0.16; 'subject:Problem': 0.16; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'important.': 0.27; 'received:209.85.212': 0.28; 'comments': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'subject:with': 0.36; 'thank': 0.36; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'instead': 0.39; 'your': 0.60; 'dear': 0.66; 'absolutely': 0.84; 'details...': 0.84; 'newcomer': 0.84; 'received:209.85.212.56': 0.91 Newsgroups: comp.lang.python Date: Tue, 20 Nov 2012 06:37:20 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.136.215.232; posting-account=CWNq-goAAACDA5ZzMr2_rzhkkt0u1Cr1 References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 193.136.215.232 MIME-Version: 1.0 Subject: Re: Problem with list.remove() method From: Alvaro Combo To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353422242 news.xs4all.nl 6953 [2001:888:2000:d::a6]:57636 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33619 Dear Chris, Thank you very much for you reply... For a newcomer to Python the Hell is in the details... :-). You are absolutely right... and I just used the index instead of the value. Regarding you other (most relevant) comments, I absolutely agree... BUT in those cases... I was aware :-). But since it is in fact an exercise... and having N^2 operations... is not important. Still your comments are quite pertinent. Once again, Thank you and best regards ACombo