Re: [Tutor] Don't understand error messages.

2009-04-23 Thread spir
Le Wed, 22 Apr 2009 19:40:51 -0700, "WM." s'exprima ainsi: > Well, Kent was right, it was an indent error, but 'way high in the > program. I was so catching commas that I got sloppy at an indent > change. sorry guys. > ___ > Tutor maillist - Tutor@

Re: [Tutor] Don't understand error messages.

2009-04-22 Thread WM.
Well, Kent was right, it was an indent error, but 'way high in the program. I was so catching commas that I got sloppy at an indent change. sorry guys. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Don't understand error messages.

2009-04-22 Thread Alan Gauld
"WM." wrote def DisplayBoard(HANGMAPIX, MissedLetters, CorrectLetters, SecretWord): for Letter in MissedLetters: Blanks = '_' * len(SecretWord) for i in range(len(SecretWord)): for Letters in Blanks: MissedLetters = '' while True:#151 DisplayBo

Re: [Tutor] Don't understand error messages.

2009-04-22 Thread WM.
Kent Johnson wrote: On Wed, Apr 22, 2009 at 2:57 PM, WM. wrote: Using Windows XP, Python 2.6 & Al Sweigart's "Invent Your Own...", I keyed in the Hangman Program. So far as I can tell it is totally proofed out. Still, I get an error message which makes no sense to me. def Display

Re: [Tutor] Don't understand error messages.

2009-04-22 Thread Kent Johnson
On Wed, Apr 22, 2009 at 2:57 PM, WM. wrote: > Using Windows XP, Python 2.6 & Al Sweigart's "Invent Your Own...", I keyed > in the Hangman Program. So far as I can tell it is totally proofed out. >  Still, I get an error message which makes no sense to me. > def DisplayBoard(HANGMAPIX, MissedLette

Re: [Tutor] Don't understand error messages.

2009-04-22 Thread spir
Le Wed, 22 Apr 2009 11:57:13 -0700, "WM." s'exprima ainsi: [...] > def DisplayBoard(HANGMAPIX, MissedLetters, CorrectLetters, SecretWord): > print HANGMANPIX[len(MissedLetters)] > print > > print 'MissedLetters:', > for Letter in MissedLetters: > print Letter, > p

[Tutor] Don't understand error messages.

2009-04-22 Thread WM.
Using Windows XP, Python 2.6 & Al Sweigart's "Invent Your Own...", I keyed in the Hangman Program. So far as I can tell it is totally proofed out. Still, I get an error message which makes no sense to me. Herewith, the program, followed by the error message. # CONSTANTS are all CAPS. # vari