title: how to append list with user input
body: <p>I have following code, that will ask user each month's rainfall, and append that to <code>rainfall_inch</code> list, and calculate <code>average</code>
  but i have two issues    </p>
  
  <p>1) after the user enters a number and next input runs, the previous entry shows behind the next input. </p>
  
  <pre><code>"Enter rainfallJanuary  :  3
  Enter rainfallFebruary 3 :  4"
  </code></pre>
  
  <p>and so on<br>
  2) problem is "'<code>list</code>' object cannot be interpreted as an integer" with my code.</p>
  
  <pre><code>def main():
  
      rainfall_inch = []
  
      name_month = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
  
  
      for item in name_month:
          x = input()
          print("Enter rainfall" + item, x, ": ", end=' ')
          rainfall_inch.append(x)
      b = [float(x) for x in range(rainfall_inch)]
  
  
      print(b)
  
      print("average rainfall is:", computeAverage(b))
  
  def computeAverage(values):
      #find average of rainfull
      total = 0.0
      for x in values:
          total+=x
      average = total/len(values)
      return average
  
  main()
  </code></pre>
  
  <p>help thank you</p>