title: Python while loop not looping as many times as expected
body: <p>I have 4 nested while loops they all look similar to the one bellow </p>
  
  <pre><code>x = 0.0    
  while x &lt;= 1.0:
      ls_alloc[0] = x
      x = x + 0.1
  </code></pre>
  
  <p>What I want it to do is add 0.1 to x each time while it is &lt;= 1.0
  The problem I am having is that it never actually goes into the while loop <code>x = 1.0</code></p>
  
  <p>I'm using python 2.7</p>