title: TypeError: 'float' object not iterable
body: <p>I'm using python 3.2.2 on windows 7 and I'm trying to create a program which accepts 7 numbers and then tells the user how many are positive, how many are negative and how many are zero. this is what I have got so far:</p>
  
  <pre><code>count=7
  for i in count:
      num = float(input("Type a number, any number:"))
      if num == 0:
          zero+=1
      elif num &gt; 0:
          positive+=1
      elif num &lt; 0:
          negative+=1
  
  print (positive)
  print (negative)
  print (zero)
  </code></pre>
  
  <p>But when I run the code I get </p>
  
  <pre><code>TypeError: 'float' object is not iterable
  </code></pre>
  
  <p>If I replace float in line 3 with int I get the same problem except it says that the 'int' object is not iterable. I have also tried changing the value of count from 7 to 7.0</p>
  
  <p>Now I took this challenge from a python tutorial book and they don't have the answer, and from what I can tell I have done everything within the syntax they put forward.</p>
  
  <p><a href="http://cs.simpson.edu/files/CS_Intro_Book.pdf" rel="noreferrer">The tutorial is here (PDF)</a></p>