代码如下:
import timecount = 0 a = input(‘time:’) b = a * 60 while (count < b): ncount = b - count print ncount time.sleep(1) count += 1 print 'done'
A programmer’s note boke for work and life
代码如下:
import timecount = 0 a = input(‘time:’) b = a * 60 while (count < b): ncount = b - count print ncount time.sleep(1) count += 1 print 'done'