There are 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day, 365(ish) days in a year. The base 60 comes from the ancient Sumerians who lived in what is now southern Iraq around 6,000 years ago, so it doesn't look like it is going to change anytime soon!
To convert a large number of seconds into minutes and seconds we need to divide the number of seconds by 60 to find the number of minutes, taking just the integer part so we'll use //. We can then use modulo division to find out how many seconds we've got left over.
num_seconds = 683
num_minutes = num_seconds // 60
num_sec_left = num_seconds % 60
print(num_seconds, "seconds is", num_minutes, "minutes and", num_sec_left, "seconds.")
this will print:
623 seconds is 11 minutes and 23 seconds.
If we have a really big number of seconds we might get hours but we can do the same thing - // the number of minutes by 60 to find number of hours, then use % to find the left over minutes
num_seconds = 15052
num_minutes = num_seconds // 60
num_sec_left = num_seconds % 60
num_hours = num_minutes // 60
num_minutes = num_minutes % 60
print(num_seconds, "seconds is", num_hours, "hours", num_minutes, "minutes and", num_sec_left, "seconds.")
will print:
15052 seconds is 4 hours 10 minutes and 52 seconds.
Or you could get the number of hours by num_seconds // 3600 as there are 3600 seconds in an hour.
We could go bigger with num_hours // 24 giving the number of days and num_days // 365 giving the number of years.