Re: [Tutor] getting nasty TypeError:

2011-11-05 Thread Steven D'Aprano
Nathaniel Trujillo wrote: I get the following error message. Traceback (most recent call last): File "C:\Python31\blackjack.py", line 184, in main() File "C:\Python31\blackjack.py", line 181, in main game.play() File "C:\Python31\blackjack.py", line 132, in play print(player)

Re: [Tutor] getting nasty TypeError:

2011-11-05 Thread Dave Angel
On 11/05/2011 10:02 PM, Nathaniel Trujillo wrote: Hello. I am currently working with Python version 3.1.1 . I am working out of the book called Python Programming for the Absolute Beginner Third Edition which teaches version 3.1.1 . I wrote the following blackjack program that is on page 275 and

[Tutor] getting nasty TypeError:

2011-11-05 Thread Nathaniel Trujillo
Hello. I am currently working with Python version 3.1.1 . I am working out of the book called Python Programming for the Absolute Beginner Third Edition which teaches version 3.1.1 . I wrote the following blackjack program that is on page 275 and I imported the modules that you see below. First the