title: Calculate change from paid amount
body: <p>Why is this code creating an infinite loop? I would think this should be an appropriate solution for this type of problem. For example, if the price was $5 and you paid $5.47, the program would print:</p>
  
  <pre><code>Quarters: 1
  Dimes: 2
  Nickels: 0
  Pennies: 2
  </code></pre>
  
  <p>However, an infinite loop occurs and I'm not sure why. Anyone know the reason?</p>
  
  <pre><code>price = round(float(input("Enter the price: ")), 2)
  print price
  paid = round(float(input("Enter the amount paid: ")), 2)
  print paid
  change = round(float(paid - price), 2)
  print change
  quarters = 0
  dimes = 0
  nickels = 0
  pennies = 0
  while change &gt; 0.00:
      print change
      if change &gt;= .25:
          change = change - .25
          quarters += 1
          continue
      elif change &gt;= .1:
          change = change - .1
          dimes += 1
          continue
      elif change &gt;= .05:
          change = change - .05
          nickels += 1
      elif change &gt;= .01:
          change = change - .01
          pennies += 1
  print "Quarters: " + str(quarters)
  print "Dimes: " + str(dimes)
  print "Nickels: " + str(nickels)
  print "Pennies: " + str(pennies)
  </code></pre>