title: Filter a list in python get integers
body: <p>I have a list:</p>
  
  <pre><code>['Jack', 18, 'IM-101', 99.9]
  </code></pre>
  
  <p>How do I filter it to get only the integers from it??</p>
  
  <p>I tried</p>
  
  <pre><code>map(int, x)
  </code></pre>
  
  <p>but it gives error.</p>
  
  <pre><code>ValueError: invalid literal for int()
    with base 10: 'Jack'
  </code></pre>