Объяснение:
sec=int(input())
h=sec//3600
if (sec-h*3600)//60 < 1:
print(h,":0",sep="")
else:
m=(sec-h*3600)//60
print(h,":",m,sep="")
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Объяснение:
sec=int(input())
h=sec//3600
if (sec-h*3600)//60 < 1:
print(h,":0",sep="")
else:
m=(sec-h*3600)//60
print(h,":",m,sep="")