Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2-liner: ... --- ... solution in Creative category for Morse Clock by przemyslaw.daniel
def checkio(t, f='{0:02b} {1:04b} : {2:03b} {3:04b} : {4:03b} {5:04b}', s=__import__('re').sub):
return s('0', '.', s('1', '-', f.format(*sum([divmod(int(y), 10) for y in t.split(':')], ()))))
April 24, 2017
Comments: