title: Need to check if value is between two numbers in a list
body: <p>I have a list in my python script <code>[79.99, 82.99, 83.99, 84.99, 85.99, 86.99, 87.99, 88.99, 89.99]</code> and an ever increasing number in a loop. I want to create a condition so when this number reaches a number between one of those ranges, it will take the lower number of the range and process it.</p>
  
  <p>For example <code>while (i!=10000): i=+1</code> and <code>if i between range(above_range): print(low_Range_number)</code></p>
  
  <p>if the number would be 81.99, it would pick 79.99
  if the number would be 84.23, it would pick 83.99</p>