title: How to fix the code for the snail to have escaped the well in less days
body: <p>I have the following problem:</p>
  <p>The Snail and the Well A snail falls at the bottom of a 125 cm well. Each day the snail rises 30 cm. But at night, while sleeping, slides 20 cm because the walls are wet. How many days does it take for the snail to escape the well?</p>
  <p>This is my variables and code:</p>
  <pre><code>well_height = 125
  
  daily_distance = 30
  
  nightly_distance = 20
  
  snail_position = 0
  
  days = 0
  
  while snail_position &lt; well_height:
     days += 1
     snail_position += daily_distance - nightly_distance
  Print (days)
  </code></pre>
  <p>The answer I get is 13, which is wrong, because I calculated it is 11, because on the last day the snail gets out and does not slide back. However, I don't know how to fix the code.</p>