title: calculating min and max of user inputs
body: <pre><code>n = int(input("How many items?"))
  for i in range(n-1):
      price = float(input("Price for the item? ")
      if price &lt; ?:
          min_price = price
      if price &gt; ?:
          max_price = price
      print("The least price is", min_price)
      print("The greatest price is", max_price) 
  </code></pre>
  
  <p>Trying to find the min and max price of the user inputs.</p>