title: "float" object is not iterable
body: <p>I am trying to find the mean of a list that contains the types int, float, and str. When I iterate through and print each item, the code works.</p>
  
  <pre><code>mylist = ["hello", 89.21, -3, "goodbye", 21, 0.0056, -12.34, "thank you", "please", 999.44409]
  newlist = []
  for i in mylist:
      print(i)
  </code></pre>
  
  <p>and the result is</p>
  
  <pre><code>hello
  89.21
  -3
  goodbye
  21
  0.0056
  -12.34
  thank you
  please
  999.44409
  </code></pre>
  
  <p>But then when I try to operate on each "i" it gives me the error "TypeError: 'float' object is not iterable". I am trying to iterate over each item, not each character.</p>
  
  <pre><code>    for i in mylist:
      if type(i)== int or type(i)== float:
          newlist += i
  </code></pre>
  
  <p>Can anyone steer me in the right direction?</p>