[Tutor] Help with a while or a for loop that only allows three tries

R. Alan Monroe R. Alan Monroe" <amonroe@columbus.rr.com
Sun Apr 13 13:07:02 2003


> Also some times I see a while loop that starts out like 
> while 1:
> what does that tiring to say, only go through the loop once. Or is
> that a I if so what would you use something like that example for?

"while 1:" means the same thing as "while true:"
Bascially it would run forever, because 1 is always 1, or true is
always true.

Alan