Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sec = int(input('write time sec '))
- sec2 = sec % 60
- minutes = sec // 60 % 60
- hours = sec // 3600
- print('results', hours, 'hours', minutes, 'minutes', sec2, 'sec')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement