Back to task

162 symbols python3
Thu Feb 12 20:14:13 2015 Dhruv Shah
t = 123
hr = int(t/3600)
mn = (t%3600)/60
    
    
mn_int = int(mn)
sec = (t%3600)%60
    
h_m_s = (str(hr)+str(":")+str(mn_int)+str(":")+str(sec))
print(h_m_s)


Leave a comment

Parsed as Markdown

Login to leave a comment