On 20/07/06, Christopher Spears <[EMAIL PROTECTED]> wrote:
>def __cmp__(self):
[...]
> I am confused by this error because I modified __cmp__
> in the Card class to take two arguments. Am I missing
> something here?
You haven't defined it that way in the code you posted..
I presume you m
Chapter 15 of How to Think Like a Computer Scientist
teaches you how to deal with sets of objects by
creating a deck of cards. The tutorial can be found
here: http://www.ibiblio.org/obp/thinkCSpy/chap15.htm.
Here is my code so far in card.py:
class Card:
suitList = ["Clubs", "Diamonds",