Removing matching items from a list?

Chris Angelico rosuav at gmail.com
Sat Aug 3 19:35:26 EDT 2013


On Sun, Aug 4, 2013 at 12:06 AM, Roy Smith <roy at panix.com> wrote:
> In article <51fd8635$0$30000$c3e8da3$5496439d at news.astraweb.com>,
>  Steven D'Aprano <steve+comp.lang.python at 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



More information about the Python-list mailing list