Respuesta :

secs= int(input("Enter a number of seconds: "))

if secs >= 3600:

   hours = (secs/60)/60

   print("There are {} hour(s) and {} min(s)".format(hours,((hours*60*60)-secs)/60))

else:

   mins = secs /60

   print("There are {} min(s)".format(mins))

I hope this helps!