[CSIS201] Question about goodData = False

Brent Wilson bwilson at georgefox.edu
Thu Oct 30 20:38:28 PDT 2008


STOP!!!!!! If you use the if statement that LeRoy suggested below to get out
of a loop I¹ll pull your eyebrows off.  That is very bad form. You should
NEVER have to break out of a loop. If you do... Then you didn¹t design the
loop correctly to begin with. Do it right the first time and then you don¹t
have to use some hack to make it work.

Have a nice evening...
-Brent


On 10/30/08 6:39 PM, "LeRoy J Seckinger" <lseckinger08 at georgefox.edu> wrote:

> 
> 
> 
> no problem.
> -----Original Message-----
> From: csis201-bounces at cs.georgefox.edu on behalf of Nathan M Otto
> Sent: Thu 10/30/2008 18:27
> To: CSIS201 Intro to Comp. Sci. I
> Subject: Re: [CSIS201] Question about goodData = False
> 
> Hey thanks for the help LeRoy, I think I will be able to figure out the rest
> from here.
> 
> -nathan
> 
> 
> -----Original Message-----
> From: csis201-bounces at cs.georgefox.edu on behalf of LeRoy J Seckinger
> Sent: Thu 10/30/2008 17:28
> To: CSIS201 Intro to Comp. Sci. I
> Subject: Re: [CSIS201] Question about goodData = False
> 
> If you want i could help you sometime tonight. always to get out of the loop
> you can just write if choice ==3 break. which will end it.
> 
> 
> -----Original Message-----
> From: csis201-bounces at cs.georgefox.edu on behalf of Nathan M Otto
> Sent: Thu 10/30/2008 16:55
> To: csis201 at cs.georgefox.edu
> Subject: [CSIS201] Question about goodData = False
> 
> Hey everyone, I'm working on the Lots program (I'm turning it in late
> obviously) and I'm running into a lot of trouble trying to get it to
> immediately short circuit the program when the user picks option 3. I'm trying
> to use a while loop with the goodData = False type of thing, but I'm having
> trouble making it work right. If anyone has any advice or if anyone would be
> willing to meet with me this evening and help me better understand goodData =
> False, that would be great.
> 
> Thanks, Nathan Otto
> 
> 
> 
> 
> 
> _______________________________________________
> CSIS201 mailing list
> CSIS201 at cs.georgefox.edu
> http://cs.georgefox.edu/mailman/listinfo/csis201

-- 
Brent Wilson
Computer & Information Sciences
George Fox University
Newberg, OR 97132
http://bwilson.cs.georgefox.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cs.georgefox.edu/pipermail/csis201/attachments/20081030/bd860ee0/attachment.htm 


More information about the CSIS201 mailing list