write a python program that reads numbers as secs n prits it in mins n secs
Answers
Answered by
0
Answer:
time = int(input("Input time in seconds: "))
time = time % (24 * 3600)
time %= 3600
minutes = time // 60
time %= 60
seconds = time
print("minutes:seconds-> %d:%d" % (minutes, seconds))
Answered by
0
Answer:
Here you go:
_________________________________
a=int(input("Enter the seconds: "))
min=a//60
sec= a-min*60
print (min,"minute and", sec,"second")
__________________________________
Similar questions