Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51898

Re: Removing matching items from a list?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.063
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'plenty': 0.07; 'assuming': 0.09; 'cards.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'peek': 0.16; 'roy': 0.16; 'wrote:': 0.18; 'appears': 0.22; 'code,': 0.22; 'aug': 0.22; 'earlier': 0.24; 'initial': 0.24; '(or': 0.24; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'am,': 0.29; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'comment': 0.34; 'subject:from': 0.34; 'equal': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; "he's": 0.36; 'subject:?': 0.36; 'should': 0.36; 'being': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'hope': 0.61; 'pick': 0.64; 'cards': 0.65; 'worth': 0.66; 'smith': 0.68; 'article': 0.77; 'played': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Hs3EP/HLMVtssRAbylVl/dVF8xQ76RqyCFAGAjcVdsw=; b=d064XtrtR3kiS8gzSUv231zr0kUXNfB5Pu6vkrMi+XWy+8hKn+GLTvBCUYV6W8UsY/ AM+v9kn79xvshidlySIvTXexCSeRZ56SndW4EpyBq6LdU4OJCydPC1lduHQb4UCC2bdH zHZH5p9ldCO8V8WT7VPaD2/Fn5Eh1Pdwgk9kAVXwBilZF9wtINmLxUcNlswPuP1j4Vb5 xCvduTftHhpDY0LEG0qS3bxuMm1jyo6tcWykPjfJPj9SK2SRt6U0OJuFphDbUcvli3Y8 Jwcsw5cVfR1NtyFyBi9w/p033eSuyfYz7rtYnAj3p7RMNa3Zpgh1XJ/7S3cNHLXjZonE /PKQ==
MIME-Version 1.0
X-Received by 10.58.223.238 with SMTP id qx14mr3853330vec.98.1375572926338; Sat, 03 Aug 2013 16:35:26 -0700 (PDT)
In-Reply-To <roy-E036D8.19060503082013@news.panix.com>
References <6c0bdea5-23bd-4854-8016-4bf0af3b7d0e@googlegroups.com> <51fd8635$0$30000$c3e8da3$5496439d@news.astraweb.com> <roy-E036D8.19060503082013@news.panix.com>
Date Sun, 4 Aug 2013 00:35:26 +0100
Subject Re: Removing matching items from a list?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.174.1375572935.1251.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375572935 news.xs4all.nl 15933 [2001:888:2000:d::a6]:51607
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51898

Show key headers only | View raw


On Sun, Aug 4, 2013 at 12:06 AM, Roy Smith <roy@panix.com> wrote:
> In article <51fd8635$0$30000$c3e8da3$5496439d@news.astraweb.com>,
>  Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
>
>> 2) Then go through those initial letters, and pick out the ones equal to
>> 4 (or should that be "four or more"?).
>
> Assuming my earlier hunch is correct about these being cards in a deck,
> and the a's being aces, I would hope it's not "four or more".  See my
> earlier comment about saloons and gunshot wounds.

Unless he's working with multiple decks. There are plenty of games
played with a double deck. But we did get a peek at his creation code,
which appears to make but a single deck's worth of cards.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 13:12 -0700
  Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 13:16 -0700
  Re: Removing matching items from a list? woooee@gmail.com - 2013-08-03 13:27 -0700
  Re: Removing matching items from a list? Roy Smith <roy@panix.com> - 2013-08-03 17:02 -0400
  Re: Removing matching items from a list? MRAB <python@mrabarnett.plus.com> - 2013-08-03 22:06 +0100
  Re: Removing matching items from a list? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-03 22:37 +0000
    Re: Removing matching items from a list? Roy Smith <roy@panix.com> - 2013-08-03 19:06 -0400
      Re: Removing matching items from a list? Chris Angelico <rosuav@gmail.com> - 2013-08-04 00:35 +0100
      Re: Removing matching items from a list? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-04 00:25 +0000
        Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:33 -0700
        Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:34 -0700
    Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:23 -0700
    Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:29 -0700
      Re: Removing matching items from a list? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-04 00:40 +0000
    Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:32 -0700
  Re: Removing matching items from a list? kevin4fong@gmail.com - 2013-08-03 17:33 -0700
    Re: Removing matching items from a list? Dave Angel <davea@davea.name> - 2013-08-04 01:53 +0000

csiph-web