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