def print_out(self, seconds):
if seconds<60:
self.timestring = "{:0>5.2f}".format(seconds)
else:
m, s = divmod(seconds, 60)
if m>59:
h, m = divmod(m, 60)
After Change
def print_out(self, seconds):
if seconds<60:
ms = (seconds%1)*100
self.timestring = "{s:0>2d}s{ms:0>2d}".format(s=int(seconds), ms=int(ms))
else:
m, s = divmod(seconds, 60)
if m>59: