#seconds سماها
int_seconds = int(input ('Please type the number of seconds: \n'))
#Enter the duration in seconds:
hours = int_seconds // 3600
#minutes = (seconds % 3600) // 60
minutes = int_seconds // 60
remaining_seconds = int_seconds % 60
print(f"The duration is: {hours} hours, {minutes} minutes, and {remaining_seconds}seconds. ")
To embed this project on your website, copy the following code and paste it into your website's HTML: