title: how to understand indexes in lists
body: <p>I'm new to Python (3 weeks)
  I'm working with this list <code>a = ["cars", "house", "boat", "family", 5]</code>
  my confusion starts when I type the following: <code>a[0] == str</code> which returns <code>False</code> or  <code>a[0] == "cars"</code>
  however when I write <code>type(a[0])</code> I do receive str
  Please make me understand </p>
  
  <p>And also on given list above, how can I print only strings and exclude integers or floats?</p>