TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
# -*- conding: utf-8 -*- import time #타이머 시작 SECOND = 1 MINUTE = 60 HOUR = MINUTE * 60 HOUR24 = 24 * HOUR count_t = time.time() #//코드 구현 time.sleep(1) pass_time = int(time.time() - count_t) m, s = divmod(pass_time, 60) h, m = divmod(m, 60) #print("%d:%02d:%02d") % (h, m, s) print("%d:%02d:%02d" % (h, m, s))