Re: [Tutor] clearing a text document

2007-08-30 Thread max baseman
thats what it does but in order to just be able to let it sit and work for as long as it can i made it a endless loop of just trying every number, for now it just displays the highest on the screen but it would be nice to get it in a text document thanks On Aug 30, 2007, at 4:53 AM, Kent Jo

Re: [Tutor] clearing a text document

2007-08-30 Thread max baseman
cool thank you :) On Aug 29, 2007, at 11:02 PM, Luke Paireepinart wrote: > max baseman wrote: >> right it's for a quick math "game" the rules are simple you start >> with any number to get the next number you, a. if it's odd >> multiply by 3 than add 1 or b. if it's even divide by two, th

Re: [Tutor] clearing a text document

2007-08-30 Thread Kent Johnson
max baseman wrote: > right it's for a quick math "game" the rules are simple you start > with any number to get the next number you, a. if it's odd multiply > by 3 than add 1 or b. if it's even divide by two, the point of this > is to see how long it takes to get to one are it starts to repe

Re: [Tutor] clearing a text document

2007-08-29 Thread Luke Paireepinart
max baseman wrote: > right it's for a quick math "game" the rules are simple you start > with any number to get the next number you, a. if it's odd multiply > by 3 than add 1 or b. if it's even divide by two, the point of this > is to see how long it takes to get to one are it starts to repe

Re: [Tutor] clearing a text document

2007-08-29 Thread max baseman
right it's for a quick math "game" the rules are simple you start with any number to get the next number you, a. if it's odd multiply by 3 than add 1 or b. if it's even divide by two, the point of this is to see how long it takes to get to one are it starts to repeat 4,2,1,4,2,1... now im

Re: [Tutor] clearing a text document

2007-08-29 Thread Alan Gauld
"max baseman" <[EMAIL PROTECTED]> wrote > quick question how would i clear a text document? A bit of context? If its a file you just open the file for writing. If its a list of strings in memory text = [] will clear it... If its a GUI text widget it will depend on which framework you are us