advice on this little script
johnjsal at NOSPAMgmail.com
Thu Mar 9 05:31:14 CET 2006
Grant Edwards wrote:
> On 2006-03-09, John Salerno <johnjsal at NOSPAMgmail.com> wrote:
>> from time import sleep
>> minutes = input('Enter the number of minutes to wait: ')
>> for x in range(minutes):
>> minutes -= 1
>> print minutes, 'minutes remaining.'
> for x in range(minutes,0,-1):
> print minutes, 'minutes remaining'
Nice! Cross off another line! I feel like Hemingway. :)
More information about the Python-list