title: Simple change calculator with while-loop validation
body: <p>I am creating a simple change calculator. However I am not certain why my while loop is not checking the user input. I would like the program to only accept numbers between 1 and 99.</p>
  <pre><code>    total = int(input('How much change do you need? '))
      while total &gt; 100 and total &lt;= 0:
          print('The change must be between 1 cent and 99 cents.')
          total = int(input('How much change do you need? '))
  
  
      def change(total):
          print(total//25, 'Quarters')
          total = total%25
          print(total//10, 'Dimes')
          total = total%10
          print(total//5, 'Nickels')
          total = total%5
          print(total//1, 'Pennies')
  
      change(total)
  </code></pre>
  <p>Thank you!</p>