title: Sleep calculator with decimal in python
body: <p>I'm looking for a way to calculate my time slept by using a formula with decimal numbers ?</p>
  <p>For exemple :</p>
  <p>If I go to bed at 23h55 I will write : 23.9</p>
  <p>And I get up at 7h05 I will write : 7.1</p>
  <p>How do I calculate the difference between them as time slept ?</p>
  <p>Can anyone help me ?</p>