Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- hh = int(input())
- mm = int(input())
- s = int(input())
- mm += math.ceil(s * 7.25 / 100)
- hh += mm // 60
- mm = mm % 60
- if hh > 23:
- hh = 0
- print(hh, str(mm).zfill(2), sep=":")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement