Time Arithmetic by clock

import time
while 1:r=raw_input();print r+"="+time.ctime(sum(9e3+int(r[3*i:][:2])*60**(~i%3)for i in range(6)))[11:19]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page