Commit 5d607c9a by BellCodeEditor

auto save

parent 23dfff73
Showing with 20 additions and 0 deletions
a=int(input())
h=0
m=0
s=0
h=int((a/(1000*60*60))%24)
m=int((a/(1000*60)%60))
s=int((a/1000)%60)
if h<10:
h="0"+str(h)
else:
h=str(h)
if m<10:
m="0"+str(m)
else:
m=str(m)
if s<10:
s="0"+str(s)
else:
s=str(s)
print(h+":"+m+":"+s)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment