title: Python while loop inconstancy
body: <p>Never seen anything like this. Simple while loop:</p>
  
  <pre><code>t_end = 100.0
  t_step= 0.1
  time = 0
  
  while time&lt;=t_end:
      time+=t_step
      print time
  </code></pre>
  
  <p>Last 3 printed values:</p>
  
  <pre><code>...
  99.9
  100.0
  100.1
  </code></pre>
  
  <p>Looks right to me. <br><br>
  Now, I change t_step to 0.01:</p>
  
  <pre><code>t_end = 100.0
  t_step= 0.01
  time = 0
  
  while time&lt;=t_end:
      time+=t_step
      print time
  </code></pre>
  
  <p>Last 3 printed values:</p>
  
  <pre><code>...
  99.98
  99.99
  100.0
  </code></pre>
  
  <p>Question: Why it doesn't go for the final loop when time = t_end =100.0 ?</p>
  
  <p>What is the alternative solution?</p>