title: Converting string to float with Python 3.2
body: <p>The purpose of this program is to display the sum, average, max, and min of use based input.</p>
  
  <pre><code>count=0.0
  Sum=0.0
  average=0.0
  data=float(input("Enter a number or just ENTER to quit:"))
  Min=data
  Max=data
  
  while data!="":
      count+=1
      number=float(data)
      Sum+=number
      average=Sum/count
  
      if data&lt;Min:
          Min=data
      if data&gt;Max:
          Max=data
      data=float(input("Enter a number or just ENTER to quit:"))
  
  print(count,("numbers entered."))
  print("Sum:",Sum)
  print("Average:",average)
  print("Min:",Min)
  print("Max:",Max)
  </code></pre>
  
  <p>The problem is with line 20:
  data=float(input("Enter a number or just ENTER to quit:"))</p>
  
  <p>When i press ENTER to end the loop it says that it was unable to convert string to float and errors. What am I doing wrong ?????</p>