Re: [Tutor] Whle Loop to run again.

2005-05-19 Thread Alan G
> I want the program to run again when i input 'run' But, It doesn't... You need another loop, or to ask for input inside the loop. If you always want 100 iterations then prompt for another hundred structure it like: run = raw_input('run or exit? ') while run = 'run': for n in range(100):

Re: [Tutor] Whle Loop to run again.

2005-05-19 Thread Ricardo Catalinas Jimenez
0n Thu, May 19, 2005 at 02:50:16PM +, . , wrote: > Hi, > > I want the program to run again when i input 'run' But, It doesn't... > > thanks. > > --- > impor

[Tutor] Whle Loop to run again.

2005-05-19 Thread . ,
Hi, I want the program to run again when i input 'run' But, It doesn't... thanks. --- import random raw_input("Flip a coin!") head = 0 tail = 0 run = "" whil