Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Morse Clock by Moff
def checkio(t):
return ' : '.join('{{:0{}b}} {{:04b}}'.format(i).format(n // 10, n % 10).translate(str.maketrans('01', '.-'))
for i, n in zip((2, 3, 3), map(int, t.split(':'))))
Dec. 16, 2021