title: Trouble involving Python
body: <p>In this code i'm making a loop with numbers until I write "done",after this all numbers that I wrote would be added,counted and after this the average of the numbers.But I've got some problems here </p>
  
  <pre><code>    from types import *
      while True:
          number = input("Enter a number")
          junction=[]
          if type(number)is FloatType :
              ju.append(number)
              continue
          elif number=="done":
              break
          else :
              print ("Invalid Input")
              continue
  
      print (sum(junction))
      print (len(junction))
      print (sum(junction)/len(junction))
  </code></pre>