Files
2021-12-22 01:03:28 -05:00

8 lines
267 B
Python

# Output two different ways you can enter a time duration on the microwave
if __name__ == '__main__':
while True:
s = int(input())
print(f'{s // 60}:{s % 60:02}')
if s >= 60:
print(f'{s // 60 - 1}:{s - (s // 60 - 1) * 60:02}')