[New-bugs-announce] [issue7034] While Loop Bug on a game of 21, help!

Nathan Ball report at bugs.python.org
Fri Oct 2 15:15:44 CEST 2009

New submission from Nathan Ball <pixelhead777 at gmail.com>:

I'm learning Python in Computer Class... and I've gone nuts trying to 
figure out why my code for a 2-player game of 21 (blackjack without the 
gambling connotation, I guess... not to mention my innacuracy of 
dealing only one card to start (which I know isn't affecting my 
glitched code)) has a glitched While loop...

my while loop has a lot within it... which is what's making it so hard 
to debug...

If you can tell me why my code is so bugged, I beg of you, let me 

(Oh, and my classmate is saying my code is too long for it... when I 
want it to look like a decent game and not a crapshoot. >.>)

components: IDLE
files: 21-2Player.py
messages: 93442
nosy: PixelHead777
severity: normal
status: open
title: While Loop Bug on a game of 21, help!
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15019/21-2Player.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list