[EMAIL PROTECTED] wrote:

> Can anyone tell me the python code for a simple countdown from eg. 2.00
> minutes.
>
> It should be printet out to the screen.
> When it is finished it should write "Time is up"

here's a first version:

    import time
    time.sleep(2*60)
    print "Time is up"

to improve this, I suggest reading the chapter on loops in the tutorial:

    http://docs.python.org/tut/node6.html

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to