Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. import math
  2.  
  3. hh = int(input())
  4. mm = int(input())
  5. s = int(input())
  6.  
  7. mm += math.ceil(s * 7.25 / 100)
  8.  
  9. hh += mm // 60
  10. mm = mm % 60
  11.  
  12. if hh > 23:
  13.     hh = 0
  14.  
  15. print(hh, str(mm).zfill(2), sep=":")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement