ramsess90

1 zad

Oct 25th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import datetime
  2. total = datetime.datetime(1, 1, 1)
  3. total += datetime.timedelta(seconds=int(input()))
  4. total += datetime.timedelta(seconds=int(input()))
  5. total += datetime.timedelta(seconds=int(input()))
  6. print(total.strftime('%#M:%S'))
Advertisement
Add Comment
Please, Sign In to add comment