def seconds_to_time(x):
 t = int((x * (10 ** 6)))
 ms = (t % (10 ** 6))
 t = (t // (10 ** 6))
 s = (t % 60)
 t = (t // 60)
 m = (t % 60)
 t = (t // 60)
 h = t
 return time(h, m, s, ms)

def seconds_to_time ( x ) : t = int ( ( x * ( 10 ** 6 ) ) ) ms = ( t % ( 10 ** 6 ) ) t = ( t // ( 10 ** 6 ) ) s = ( t % 60 ) t = ( t // 60 ) m = ( t % 60 ) t = ( t // 60 ) h = t return time ( h , m , s , ms )
convert a number of second into a time .