Advertisement
Spocoman

01. Sum Seconds

Dec 16th, 2021 (edited)
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. first_time = int(input())
  2. second_time = int(input())
  3. third_time = int(input())
  4. seconds = first_time + second_time + third_time
  5.  
  6. print(f'{seconds // 60}:{seconds % 60:02}')
  7.  
  8. Тарикатско решение:)
  9.  
  10. seconds = int(input()) + int(input()) + int(input())
  11.  
  12. print(f'{seconds // 60}:{seconds % 60:02}')
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement