List comprehension putting Boolean's inside of list instead of integers
<p>I made a list comprehension to only add numbers less than or equal to 5 to b, but when I run my program it outputs Boolean's instead of integers.</p>

<p>How do I change them to integers. </p>

<pre><code>a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = [i &lt;= 5 for i in a]
print b

[True, True, True, True, True, False, False, False, False, False, False]
</code></pre>