Time Arithmetic by hallvabo

import time
while 1:t=raw_input();print t+'='+time.ctime(sum(60**(2-i%3)*int(t[3*i:][:2])for i in range(6))+54e3)[11:-5]

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

download

return to the top page