Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Morse Clock by vhtien1986
from string import maketrans
checkio = lambda time: ' '.join(i if i==':' else bin(int(i))[2:].zfill(int(j)).translate(maketrans('01','.-')) for i,j in zip(':'.join(i.zfill(2) for i in time.split(':')),'24:34:34'))
Aug. 30, 2013
Comments: