Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hours = int(input())
- minutes = int(input())
- total_minutes = hours * 60 + minutes + 15
- print(f'{total_minutes // 60 % 24}:{total_minutes % 60:02}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement