title: Add hours or minutes(randomly generated) in 24 hour format time python
body: <p>I have a 24 hour format lets 10:00:00 now I want to randomly generate hours range(1 to 2.5) and add it in a my 24 hour format 10:00:00.
  e.g </p>
  
  <pre><code>random_hour=0.30 // how I can generate time randomly
  24_hour_format=24_hour_format+random_hour  // result should be 10:30:00
  </code></pre>
  
  <p>I have tried I have used</p>
  
  <pre><code> timespent=random.uniform(1.0,2.5)
   random_hour="{:.1f}".format(timespent)
   24_hour_format=24_hour_format+random_hour
  </code></pre>
  
  <p>but it gives me 10:00:00.1.4 // if random number is 1.4  how can I fix this?</p>