title: Is there anyway to convert those int into time?
body: <p>Is it possible to convert int into hours:min:sec</p>
  
  <pre><code>import datetime 
  
  x = 40000 
  
  t = int(x) 
  
  day = t//86400 
  hour = (t-(day*86400))//3600 
  min = (t - ((day*86400) + (hour*3600)))//60 
  seconds = t - ((day*86400) + (hour*3600) + (min*60)) 
  
  hello= datetime.time(hour.hour, min.minute, seconds.second)   
  
  print (hello )
  </code></pre>
  
  <p>I want this Output:- 11:06:40</p>