#Write a program to convert second into hour, minute & second.


sec = int(input('Enter seconds: '))
hr = sec // 3600
sec %= 3600
min = sec // 60
sec %= 60
sec = sec % (24 * 3600)

print(f'{hr} hours and {min} minutes and {sec} seconds')

773065f0d792a996af9e859c9a0e4d69c37bef2f
<mask token>

<mask token>
sec %= 3600
<mask token>
sec %= 60
<mask token>
print(f'{hr} hours and {min} minutes and {sec} seconds')

sec = int(input('Enter seconds: '))
hr = sec // 3600
sec %= 3600
min = sec // 60
sec %= 60
sec = sec % (24 * 3600)
print(f'{hr} hours and {min} minutes and {sec} seconds')

#Write a program to convert second into hour, minute & second.


sec = int(input('Enter seconds: '))
hr = sec // 3600
sec %= 3600
min = sec // 60
sec %= 60
sec = sec % (24 * 3600)

print(f'{hr} hours and {min} minutes and {sec} seconds')
