> 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):
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
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