human
Can you show me a Python function to calculate hours minutes and seconds? Can you show a Python program to calculate hours and minutes.
assistant
Here is a Python function to calculate seconds (int) and calculate hours minutes and seconds

import time

def seconds2hms(seconds):
    """
    Given seconds (int) calculate hours minutes and seconds.
    """
    hours = seconds // 3600
    minutes = (seconds % 3600) // 60
    seconds = seconds % 60
    return hours, minutes, seconds

# Enter the seconds
seconds = 10

# Calling the function
print((seconds2hms(seconds)))

#Example Output
# (0, 0, 10)

#Remember to inspect code for bugs.