Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Morse Clock by KrzysztofP
def checkio(time_string):
tab=[2,4,0,3,4,0,3,4]
wynik=""
if len(time_string)<8:
counter=0
ile=len(time_string)
for a in range(ile):
if time_string[a]!=":":
counter+=1
else:
if counter==1:
time_string=time_string[:(a-1)]+"0"+time_string[(a-1):]
ile=ile+1
counter=0
if len(time_string)<8:
time_string=time_string[:(6)]+"0"+time_string[(6):]
i=0
for i in range(len(time_string)):
if time_string[i]!=":":
liczba='{0:b}'.format(int(time_string[i]))
if int(len(liczba))
Oct. 31, 2016