On 01/-10/-28163 02:59 PM, Robert Berman wrote:
I am working on the second part of the 'Bingo' problem defined at the Bingo
Praxis web page, http://programmingpraxis.com/2009/02/19/bingo/.
My notes as how to best define and build the problem:
'In a large game with five hundred cards in play, wh
Based on what you initally stated, that you would have a list containing 500
numbers, and for each number, there would be a player, using a dict would be
ideal. For example, once you've got the winning number, how do you then
intend on handling what happens to each player as they win? Do you intend
On 12/24/2010 11:09 AM Robert Berman said...
1) Why is the function doing
what it is doing rather than what I thought I programmed it to do,
you've only got one mycard at the class level that's shared between the
instances.
and 2) How can I code it to do what I want it to do: Produce N
num
From: Noah Hall [mailto:enali...@gmail.com]
Sent: Friday, December 24, 2010 2:36 PM
To: Robert Berman
Subject: Re: [Tutor] A class list
Alright, I'll begin by saying that you shouldn't use a list for cards , and a
separate one for players. Instead, you should use dictionaries. F
I am working on the second part of the 'Bingo' problem defined at the Bingo
Praxis web page, http://programmingpraxis.com/2009/02/19/bingo/.
My notes as how to best define and build the problem:
'In a large game with five hundred cards in play, what is the average number
of calls required before