On 2006-03-09, John Salerno <[EMAIL PROTECTED]> wrote:

> from time import sleep
>
> minutes = input('Enter the number of minutes to wait: ')
>
> for x in range(minutes):
>       sleep(1.0)
>       minutes -= 1
>       print minutes, 'minutes remaining.'

for x in range(minutes,0,-1):
    sleep(60.0)
    print minutes, 'minutes remaining'

-- 
Grant Edwards                   grante             Yow!  My EARS are GONE!!
                                  at               
                               visi.com            
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to