# -*- coding:utf-8 -*-
"用Python制作计时器"
import time
import sys
import winsound

def Count():
    while 1:
        count = 0 
        min_input = input('time:') 
        sec = min_input * 60 
        while (count < sec):
            sec_now = sec - count 
            #    print sec_now 
            #   输出提示
            min_clk = sec_now / 60
            sec_clk = sec_now % 60
            print "%d:%d" %(min_clk, sec_clk)
            time.sleep(1)
            count += 1 
        print 'done' 
        i = 10
        while i > 0:
            winsound.PlaySound("SystemExit", winsound.SND_ALIAS) 
            winsound.PlaySound("*", winsound.SND_ALIAS)        
            i -= 1
        
if __name__ == '__main__':
    Count()
fcc16da40207ec69d2351db60fa90930d8d88316
# -*- coding:utf-8 -*-
"用Python制作计时器"
import time
import sys
import winsound

def Count():
    while 1:
        count = 0 
        min_input = input('time:') 
        sec = min_input * 60 
        while (count < sec):
            sec_now = sec - count 
            #    print sec_now 
            #   输出提示
            min_clk = sec_now / 60
            sec_clk = sec_now % 60
            print "%d:%d" %(min_clk, sec_clk)
            time.sleep(1)
            count += 1 
        print 'done' 
        i = 10
        while i > 0:
            winsound.PlaySound("SystemExit", winsound.SND_ALIAS) 
            winsound.PlaySound("*", winsound.SND_ALIAS)        
            i -= 1
        
if __name__ == '__main__':
    Count()