Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first = int(input())
- second = int(input())
- third = int(input())
- total_time = first + second + third
- minutes = total_time // 60
- seconds = total_time % 60
- if seconds < 10:
- print(f"{minutes}:0{seconds}")
- else:
- print(f"{minutes}:{seconds}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement