title: Python Prediction for organism population growth
body: <p>The inputs would be:</p>
  
  <p>The initial number of organisms
  The rate of growth (a real number greater than 1)
  The number of hours it takes to achieve this rate
  A number of hours during which the population grows</p>
  
  <p>I have:</p>
  
  <pre><code>Population = int(input("The initial number of organisms: " ))
  RateOfGrowth = int(input("The rate of growth (a real number &gt; 0): " ))
  HrToAchieve = int(input("The number of hours it takes to achieve this rate: " ))
  Input_Hrs = int(input("Enter the total hours of growth: " ))
  
  NewGrowth = 0
  Passes = Input_Hrs/HrToAchieve
  
  while Passes &gt; 0:
      NewGrowth = (Population * RateOfGrowth)-Population
      Population += NewGrowth
      Passes -= 1
  
  print("The total population is", Population )
  
  </code></pre>
  
  <p>New at loops and not sure how I'm missing a pass
  partially working with input 10,2,2,6 providing correct answer of 80</p>
  
  <p>But when using 100 organisms with growth rate of 5 over 2 hrs over 25 hrs total, I get 7000 NOT
  24414062500 which would be proper.</p>